InDesign Server2025
API 20.5.0.49
Collection of ParagraphStyleGroup

ParagraphStyleGroups

A collection of paragraph style groups.

Properties

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

Methods

→ ParagraphStyleGroup

Creates a new ParagraphStyleGroup.

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

Displays the number of elements in the ParagraphStyleGroup.

→ ParagraphStyleGroup

Returns the ParagraphStyleGroup with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
→ ParagraphStyleGroup[]

Returns the ParagraphStyleGroups within the specified range.

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

Returns the middle ParagraphStyleGroup in the collection.

→ ParagraphStyleGroup

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

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

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

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

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

Object of 3

Properties elsewhere that hold a ParagraphStyleGroups.