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)→ inherited from CollectionBase
          Reserved for internal use.
methodadd(startCell, endCell, hasHeaders)
           Adds a ListObject to the worksheet.
methodclear()→ inherited from CollectionBase
          
methodcontains(value)→ inherited from CollectionBase
          Reserved for internal use.
methodget(index)→ inherited from CollectionBase
          Reserved for internal use.
methodindexOf(value)→ inherited from CollectionBase
          Reserved for internal use.
methoditerator()→ inherited from CollectionBase
          
methodremoveAt(index)→ inherited from CollectionBase
          
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.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.