InDesign Server2025
API 20.5.0.49
Collection of ObjectStyleGroup

ObjectStyleGroups

A collection of object style groups.

Properties

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

Methods

→ ObjectStyleGroup

Returns the ObjectStyleGroup with the specified index.

index Number The index.
→ ObjectStyleGroup

Creates a new ObjectStyleGroup.

withProperties? Object Initial values for properties of the new ObjectStyleGroup
→ Number

Displays the number of elements in the ObjectStyleGroup.

→ ObjectStyleGroup[]

Returns every ObjectStyleGroup in the collection.

→ ObjectStyleGroup

Returns the first ObjectStyleGroup in the collection.

→ ObjectStyleGroup

Returns the ObjectStyleGroup with the specified index or name.

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

Returns the ObjectStyleGroup with the specified name.

name String The name.
→ ObjectStyleGroup[]

Returns the ObjectStyleGroups within the specified range.

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

Returns the last ObjectStyleGroup in the collection.

→ ObjectStyleGroup

Returns the middle ObjectStyleGroup in the collection.

→ ObjectStyleGroup

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

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

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

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

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

Object of 3

Properties elsewhere that hold a ObjectStyleGroups.