A collection of table styles.
Methods
TableStyleadd ([withProperties:
Object])
Creates a new TableStyle.
| Parameter | Type | Description |
|---|---|---|
| withProperties | Object | Initial values for properties of the new TableStyle (Optional) |
TableStyleanyItem ()
Returns any TableStyle in the collection.
number count ()
Displays the number of elements in the TableStyle.
Array of TableStyleeveryItem ()
Returns every TableStyle in the collection.
TableStylefirstItem ()
Returns the first TableStyle in the collection.
TableStyleitem (index:
any)
Returns the TableStyle with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
TableStyleitemByID (id:
number)
Returns the TableStyle with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
TableStyleitemByName (name:
string)
Returns the TableStyle with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of TableStyleitemByRange (from:
any, to:
any)
Returns the TableStyles within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | TableStyle Long Integer String |
The TableStyle, index, or name at the beginning of the range. Can accept: TableStyle, Long Integer or String. |
| to | TableStyle Long Integer String |
The TableStyle, index, or name at the end of the range. Can accept: TableStyle, Long Integer or String. |
TableStylelastItem ()
Returns the last TableStyle in the collection.
TableStylemiddleItem ()
Returns the middle TableStyle in the collection.
TableStylenextItem (obj:
TableStyle)
Returns the TableStyle whose index follows the specified TableStyle in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | TableStyle | The TableStyle whose index comes before the desired TableStyle. |
TableStylepreviousItem (obj:
TableStyle)
Returns the TableStyle with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | TableStyle | The index of the TableStyle that follows the desired TableStyle. |
string toSource ()
Generates a string which, if executed, will return the TableStyle.
Element of:
Application.tableStyles
Document.tableStyles
TableStyleGroup.tableStyles