TableStyleElementCollection
Contents
[
Hide
]TableStyleElementCollection class
Represents all elements of the table style.
class TableStyleElementCollection;
Methods
| Method | Description | 
|---|---|
| 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. | 
get(number)
Gets an element of the table style by the index.
get(index: number) : TableStyleElement;
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| index | number | The index. | 
Returns
Returns TableStyleElement object
get(TableStyleElementType)
Gets the element of the table style by the element type.
get(type: TableStyleElementType) : TableStyleElement;
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| type | TableStyleElementType | The element type. | 
Returns
Returns TableStyleElement object
add(TableStyleElementType)
Adds an element.
add(type: TableStyleElementType) : number;
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| type | TableStyleElementType | The type of the element | 
Returns
Returns the index of the element in the list.