RowCollection
Overview
RowCollection is a class in Aspose.Slides FOSS for .NET.
Inherits from: IRowCollection, IEnumerable<IRow>.
Represents a collection of rows in a table.
This class provides 4 methods for working with RowCollection objects in .NET programs.
Available methods include: AddClone, GetEnumerator, InsertClone, RemoveAt.
All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package.
Properties: AsICollection, AsIEnumerable, Count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the count. |
AsICollection | IList<IRow> | Read | Gets a shallow copy of all rows as a list. |
AsIEnumerable | IEnumerable<IRow> | Read | Gets an enumerable over the rows. |
Methods
| Signature | Description |
|---|---|
AddClone(templ: IRow, withAttachedRows: bool) | Adds a clone of the given IRow, optionally including its attached rows |
InsertClone(index: int, templ: IRow, withAttachedRows: bool) | Inserts a cloned IRow at the specified index, optionally with attached rows |
RemoveAt(firstRowIndex: int, withAttachedRows: bool) | Calls RemoveAt(firstRowIndex, withAttachedRows) on this RowCollection instance. |
GetEnumerator() | Calls GetEnumerator on this RowCollection instance. |