InDesign Server2025
API 20.5.0.49
Collection of CellStyleGroup

CellStyleGroups

A collection of cell style groups.

Properties

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

Methods

→ CellStyleGroup

Returns the CellStyleGroup with the specified index.

index Number The index.
→ CellStyleGroup

Creates a new CellStyleGroup.

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

Returns any CellStyleGroup in the collection.

→ Number

Displays the number of elements in the CellStyleGroup.

→ CellStyleGroup[]

Returns every CellStyleGroup in the collection.

→ CellStyleGroup

Returns the first CellStyleGroup in the collection.

→ CellStyleGroup

Returns the CellStyleGroup with the specified index or name.

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

Returns the CellStyleGroup with the specified ID.

id Number The ID.
→ CellStyleGroup

Returns the CellStyleGroup with the specified name.

name String The name.
→ CellStyleGroup[]

Returns the CellStyleGroups within the specified range.

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

Returns the last CellStyleGroup in the collection.

→ CellStyleGroup

Returns the middle CellStyleGroup in the collection.

→ CellStyleGroup

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

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

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

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

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

Object of 3

Properties elsewhere that hold a CellStyleGroups.