TableStyleElementCollection

TableStyleElementCollection class

Represents all elements of the table style.

class TableStyleElementCollection;

Methods

MethodDescription
get(number)Gets an element of the table style by the index.
add(TableStyleElementType)Adds an element.
getCount()Gets the number of elements contained in.

get(number)

Gets an element of the table style by the index.

get(index: number) : TableStyleElement;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

Returns TableStyleElement object

add(TableStyleElementType)

Adds an element.

add(type: TableStyleElementType) : number;

Parameters:

ParameterTypeDescription
typeTableStyleElementTypeThe type of the element

Returns

Returns the index of the element in the list.

getCount()

Gets the number of elements contained in.

getCount() : number;