ColumnCollection

ColumnCollection

Overview

ColumnCollection is a class in Aspose.Slides FOSS for .NET. Inherits from: IColumnCollection, IEnumerable<IColumn>.

Represents a collection of columns in a table. Maintains synchronization between the tblGrid column definitions and per-row cell elements in the XML tree.

Properties

NameTypeAccessDescription
CountintReadGets the total number of columns in the collection
AsICollectionIList<IColumn>ReadProvides the columns as an IList
AsIEnumerableIEnumerable<IColumn>ReadProvides the columns as an IEnumerable

Methods

SignatureDescription
AddClone(templ: IColumn, withAttachedColumns: bool)Adds a clone of the given IColumn, optionally copying attached columns
InsertClone(index: int, templ: IColumn, withAttachedColumns: bool)Inserts a cloned IColumn at the specified index, optionally copying attached columns
RemoveAt(index: int, withAttachedRows: bool)Removes the column at the given index, optionally also removing attached rows
GetEnumerator()Returns an enumerator to iterate over the columns

See Also