asposecells.api

Class ListObjectCollection

Represents a collection of ListObject objects in the worksheet.

Property Getters/Setters Summary
methodgetCount()
methodget(index)
Gets the ListObject by index.
methodget(tableName)
Gets the ListObject by specified name.
 
Method Summary
methodadd(startRow, startColumn, endRow, endColumn, hasHeaders)
Adds a ListObject to the worksheet.
methodadd(value)
Reserved for internal use.
methodadd(startCell, endCell, hasHeaders)
Adds a ListObject to the worksheet.
methodclear()
methodcontains(value)
Reserved for internal use.
methodget(index)
Reserved for internal use.
methodindexOf(value)
Reserved for internal use.
methoditerator()
methodremoveAt(index)
methodupdateColumnName()
Update all column name of the tables.
 

    • Property Getters/Setters Detail

      • getCount : int 

        int getCount()
        
      • get : ListObject 

        ListObject get(index)
        
        Gets the ListObject by index.
        Parameters:
        index - The index.
        Returns:
        The ListObject
      • get : ListObject 

        ListObject get(tableName)
        
        Gets the ListObject by specified name.
        Parameters:
        tableName - ListObject name.
        Returns:
        The ListObject
    • Method Detail

      • add

        int add(startRow, startColumn, endRow, endColumn, hasHeaders)
        Adds a ListObject to the worksheet.
        Parameters:
        startRow: int - The start row of the list range.
        startColumn: int - The start row of the list range.
        endRow: int - The start row of the list range.
        endColumn: int - The start row of the list range.
        hasHeaders: boolean - Whether the range has headers.
        Returns:
        The index of the new ListObject
      • add

        int add(startCell, endCell, hasHeaders)
        Adds a ListObject to the worksheet.
        Parameters:
        startCell: String - The start cell of the list range.
        endCell: String - The end cell of the list range.
        hasHeaders: boolean - Whether the range has headers.
        Returns:
        The index of the new ListObject
      • updateColumnName

         updateColumnName()
        Update all column name of the tables.
      • clear

         clear()
      • removeAt

         removeAt(index)
      • iterator

        Iterator iterator()
      • get

        Object get(index)
        Reserved for internal use.
      • contains

        boolean contains(value)
        Reserved for internal use.
      • add

        int add(value)
        Reserved for internal use.
      • indexOf

        int indexOf(value)
        Reserved for internal use.