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
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the total number of columns in the collection |
AsICollection | IList<IColumn> | Read | Provides the columns as an IList |
AsIEnumerable | IEnumerable<IColumn> | Read | Provides the columns as an IEnumerable |
Methods
| Signature | Description |
|---|---|
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 |