class
RowCollection
Source: aspose.
Collects the Row objects that represent the individual rows in a worksheet.
Methods
clear()
Clear all rows and cells.
get()
Gets a Row object by given row index. The Row object of given row index will be instantiated if it does not exist before.
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 rows through this collection
- Returns
-
Iterator
enumerator
removeAt(index)
Remove the row item at the specified index(position) in this collection.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
zero-based index(position, not |