asposecells.api
Class TableStyleCollection

Represents all custom table styles.

Property Getters/Setters Summary
methodgetCount()
          
methodget(index)
           Gets the table style by the index.
methodget(name)
           Gets the table style by the name.
 
Method Summary
methodadd(value)→ inherited from CollectionBase
          Reserved for internal use.
methodaddPivotTableStyle(name)
           Adds a custom pivot table style.
methodaddTableStyle(name)
           Adds a custom table style.
methodclear()→ inherited from CollectionBase
          
methodcontains(value)→ inherited from CollectionBase
          Reserved for internal use.
methodget(index)→ inherited from CollectionBase
          Reserved for internal use.
methodgetBuiltinTableStyle(type)
           Gets the builtin table style
methodindexOf(value)→ inherited from CollectionBase
          Reserved for internal use.
methoditerator()→ inherited from CollectionBase
          
methodremoveAt(index)→ inherited from CollectionBase
          
 

Property Getters/Setters Detail

getCount : int 

int getCount()

get : TableStyle 

TableStyle get(index)
Gets the table style by the index.
Parameters:
index - The position of the table style in the list.
Returns:
The table style object.

get : TableStyle 

TableStyle get(name)
Gets the table style by the name.
Parameters:
name - The table style name.
Returns:
The table style object.

Method Detail

addTableStyle

int addTableStyle(name)
Adds a custom table style.
Parameters:
name: String - The table style name.
Returns:
The index of the table style.

addPivotTableStyle

int addPivotTableStyle(name)
Adds a custom pivot table style.
Parameters:
name: String - The pivot table style name.
Returns:
The index of the pivot table style.

getBuiltinTableStyle

TableStyle getBuiltinTableStyle(type)
Gets the builtin table style
Parameters:
type: int - A TableStyleType value. The builtin table style type.
Returns:

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.