aspose.cells
Class TableStyleElementCollection

Represents all elements of the table style.

Property Getters/Setters Summary
functiongetCount()
          
functionget(index)
           Gets an element of the table style by the index.
functiongetByTableStyleElementType(type)
           Gets the element of the table style by the TableStyleElementType
 
Method Summary
functionadd(type)
           Adds an element.
functionadd(value)→ inherited from CollectionBase
          Reserved for internal use.
functionclear()→ inherited from CollectionBase
          
functioncontains(value)→ inherited from CollectionBase
          Reserved for internal use.
functionget(index)→ inherited from CollectionBase
          Reserved for internal use.
functiongetTableStyleElementWithIndex(index)
           Gets an element of the table style by the index.
functiongetTableStyleElementWithType(type)
           Gets the element of the table style by the TableStyleElementType
functionindexOf(value)→ inherited from CollectionBase
          Reserved for internal use.
functioniterator()→ inherited from CollectionBase
          
functionremoveAt(index)→ inherited from CollectionBase
          
 

Property Getters/Setters Detail

getCount : Number 

function getCount()

get : TableStyleElement 

function get(index)
Gets an element of the table style by the index.
Parameters:
index - The index.
Returns:
Returns TableStyleElement object

getByTableStyleElementType : TableStyleElement 

function getByTableStyleElementType(type)
Gets the element of the table style by the TableStyleElementType
Parameters:
type - A TableStyleElementType value. The element type.
Returns:
Returns TableStyleElement object

Method Detail

getTableStyleElementWithIndex

function getTableStyleElementWithIndex(index)
Gets an element of the table style by the index. NOTE: This member is now obsolete. Instead, please use Aspose.Cells.Tables.TableStyleElementCollection.this[int index] property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.

getTableStyleElementWithType

function getTableStyleElementWithType(type)
Gets the element of the table style by the TableStyleElementType NOTE: This member is now obsolete. Instead, please use Aspose.Cells.Tables.TableStyleElementCollection.this[TableStyleElementType type] property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.
Parameters:
type - A TableStyleElementType value.

add

function add(type)
Adds an element.
Parameters:
type: Number - A TableStyleElementType value. The type of the element
Returns:
Returns the index of the element in the list.

clear

function clear()

removeAt

function removeAt(index)

iterator

function iterator()

get

function get(index)
Reserved for internal use.

contains

function contains(value)
Reserved for internal use.

add

function add(value)
Reserved for internal use.

indexOf

function 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.