aspose.cells

Class RowCollection

Collects the objects that represent the individual rows in a worksheet.
See Also:
Row

Property Getters/Setters Summary
functiongetCount()
Gets the number of rows in this collection.
functionget(rowIndex)
Gets a object by given row index. The Row object of given row index will be instantiated if it does not exist before.
 
Method Summary
functionclear()
Clear all rows and cells.
functiongetRowByIndex(index)
Gets the row object by the position in the list.
functioniterator()
Gets an enumerator that iterates through this collection
functionremoveAt(index)
Remove the row at the specified index
 

    • Property Getters/Setters Detail

      • getCount : Number 

        function getCount()
        
        Gets the number of rows in this collection.
      • get : Row 

        function get(rowIndex)
        
        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
    • Method Detail

      • iterator

        function iterator()
        Gets an enumerator that iterates through this collection
        Returns:
        enumerator
      • getRowByIndex

        function getRowByIndex(index)
        Gets the row object by the position in the list.
        Parameters:
        index: Number - The position.
        Returns:
        The Row object at given position.
      • clear

        function clear()
        Clear all rows and cells.
      • removeAt

        function removeAt(index)
        Remove the row at the specified index
        Parameters:
        index: Number - zero-based row index