ColumnCollection

ColumnCollection

Overview

ColumnCollection is a class in Aspose.Slides FOSS for C++.

Represents collection of columns in a table.

Properties

NameTypeAccessDescription
iteratoriteratorReadProperty provides an iterator to the first column in the collection
const_iteratorconst_iteratorReadProperty provides a const iterator to the first column for read‑only access

Methods

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
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.
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).

See Also