asposecells.api

Class RowCollection

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

Property Getters/Setters Summary
methodgetCount()
Gets the number of rows in this collection.
methodget(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
methodclear()
Clear all rows and cells.
methodgetRowByIndex(index)
Gets the row object by the position in the list.
methoditerator()
Gets an enumerator that iterates through this collection
methodremoveAt(index)
Remove the row at the specified index
 

    • Property Getters/Setters Detail

      • getCount : int 

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

        Row 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

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

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

         clear()
        Clear all rows and cells.
      • removeAt

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