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.
get(TableStyleElementType)Gets the element of the table style by the element type.
add(TableStyleElementType)Adds an element.
getCount()Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

get(number)

Gets an element of the table style by the index.

get(index: number) : TableStyleElement;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

Returns TableStyleElement object

get(TableStyleElementType)

Gets the element of the table style by the element type.

get(type: TableStyleElementType) : TableStyleElement;

Parameters:

ParameterTypeDescription
typeTableStyleElementTypeThe element type.

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;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;