class
RowCollection
Source: aspose.
Collects the objects that represent the individual rows in a worksheet. See Also:Row
Methods
clear()
Clear all rows and cells.
get()
Gets a object by given row index. The Row object of given row index will be instantiated if it does not exist before. See Also:Row
getCount()
Gets the number of rows in this collection.
getRowByIndex(index) → Row
Gets the row object by the position in the list.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
The position. |
- Returns
-
Row
The Row object at given position.
iterator() → Iterator
Gets an enumerator that iterates through this collection
- Returns
-
Iterator
enumerator
removeAt(index)
Remove the row at the specified index
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
zero-based row index |