ColumnCollection

Vue de l’ensemble

‘ColumnCollection’ est une classe dans Aspose.Slides FOSS pour C++.

Représente une collection de colonnes dans une table.

Cette classe fournit 19 méthodes pour travailler avec des objets ColumnCollection dans les programmes C++. Les méthodologies disponibles comprennent: Columncollection, add , add_clone ; as_i_collection; begin : clairetconst_iterator . , 'end est insert_klone ́ , ‘iterateur ou « remove_at. Tous les membres publics sont accessibles à n’importe quelle application C ++ après l’installation de l’Aspose.Slides FOSS pour le package C+. Propriétés : Const-terator‘, 'iterador

Propriétés

NameTypeAccessDescription
iteratoriteratorReadGets the iterator.
const_iteratorconst_iteratorReadGets the const iterator.

méthodes

SignatureDescription
iterator()iteratorProperty provides an iterator to the first column in the collection
iterator()iterator
const_iterator()const_iteratorProperty provides a const iterator to the first column for read‑only access
const_iterator()const_iterator
ColumnCollection()
~ColumnCollection()
size()std::size_tReturns the number of columns.
add(col: std::unique_ptr<Column>)ColumnAdds a column to the collection.
add_clone(templ: Column, with_attached_columns: bool)std::vector<Column*>Clones the given template column and appends it to the end.
insert_clone(index: std::size_t, templ: Column, with_attached_columns: bool)std::vector<Column*>Clones the given template column and inserts it at the specified index.
remove_at(first_column_index: std::size_t, with_attached_rows: bool)Removes the column at the given index.
remove_at(index: std::size_t)Removes the column at the given index.
clear()Removes all columns.
as_i_collection()std::vector<Column*>Returns a snapshot of the columns as raw pointers.
as_i_enumerable()std::vector<Column*>Returns a snapshot of the columns as raw pointers (same as as_i_collection).
begin()iterator
end()iterator
begin()const_iterator
end()const_iterator

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français