A collection of table style groups.
Methods
TableStyleGroupadd ([withProperties:
Object])
Creates a new TableStyleGroup.
| Parameter | Type | Description |
|---|---|---|
| withProperties | Object | Initial values for properties of the new TableStyleGroup (Optional) |
TableStyleGroupanyItem ()
Returns any TableStyleGroup in the collection.
number count ()
Displays the number of elements in the TableStyleGroup.
Array of TableStyleGroupeveryItem ()
Returns every TableStyleGroup in the collection.
TableStyleGroupfirstItem ()
Returns the first TableStyleGroup in the collection.
TableStyleGroupitem (index:
any)
Returns the TableStyleGroup with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
TableStyleGroupitemByID (id:
number)
Returns the TableStyleGroup with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
TableStyleGroupitemByName (name:
string)
Returns the TableStyleGroup with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of TableStyleGroupitemByRange (from:
any, to:
any)
Returns the TableStyleGroups within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | TableStyleGroup Long Integer String |
The TableStyleGroup, index, or name at the beginning of the range. Can accept: TableStyleGroup, Long Integer or String. |
| to | TableStyleGroup Long Integer String |
The TableStyleGroup, index, or name at the end of the range. Can accept: TableStyleGroup, Long Integer or String. |
TableStyleGrouplastItem ()
Returns the last TableStyleGroup in the collection.
TableStyleGroupmiddleItem ()
Returns the middle TableStyleGroup in the collection.
TableStyleGroupnextItem (obj:
TableStyleGroup)
Returns the TableStyleGroup whose index follows the specified TableStyleGroup in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | TableStyleGroup | The TableStyleGroup whose index comes before the desired TableStyleGroup. |
TableStyleGrouppreviousItem (obj:
TableStyleGroup)
Returns the TableStyleGroup with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | TableStyleGroup | The index of the TableStyleGroup that follows the desired TableStyleGroup. |
string toSource ()
Generates a string which, if executed, will return the TableStyleGroup.
Element of:
Application.tableStyleGroups
Document.tableStyleGroups
TableStyleGroup.tableStyleGroups