InDesign2026
API 21.5.1.73
Collection of TableStyleGroup

TableStyleGroups

A collection of table style groups.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

→ TableStyleGroup

Returns the TableStyleGroup with the specified index.

index Number The index.
→ TableStyleGroup

Creates a new TableStyleGroup.

withProperties? Object Initial values for properties of the new TableStyleGroup
→ TableStyleGroup

Returns any TableStyleGroup in the collection.

→ Number

Displays the number of elements in the TableStyleGroup.

→ TableStyleGroup[]

Returns every TableStyleGroup in the collection.

→ TableStyleGroup

Returns the first TableStyleGroup in the collection.

→ TableStyleGroup

Returns the TableStyleGroup with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
→ TableStyleGroup

Returns the TableStyleGroup with the specified name.

name String The name.
→ TableStyleGroup[]

Returns the TableStyleGroups within the specified range.

from LongInteger | TableStyleGroup | String The TableStyleGroup, index, or name at the beginning of the range. Can accept: TableStyleGroup, Long Integer or String.
to LongInteger | TableStyleGroup | String The TableStyleGroup, index, or name at the end of the range. Can accept: TableStyleGroup, Long Integer or String.
→ TableStyleGroup

Returns the last TableStyleGroup in the collection.

→ TableStyleGroup

Returns the middle TableStyleGroup in the collection.

→ TableStyleGroup

Returns the TableStyleGroup whose index follows the specified TableStyleGroup in the collection.

obj TableStyleGroup The TableStyleGroup whose index comes before the desired TableStyleGroup.
→ TableStyleGroup

Returns the TableStyleGroup with the index previous to the specified index.

obj TableStyleGroup The index of the TableStyleGroup that follows the desired TableStyleGroup.
→ String

Generates a string which, if executed, will return the TableStyleGroup.

Object of 3

Properties elsewhere that hold a TableStyleGroups.