InDesign Server2025
API 20.5.0.49
Collection of GotoStateBehavior

GotoStateBehaviors

A collection of goto state behaviors.

Properties

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

Methods

→ GotoStateBehavior

Creates a new GotoStateBehavior.

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

Displays the number of elements in the GotoStateBehavior.

→ GotoStateBehavior[]

Returns every GotoStateBehavior in the collection.

→ GotoStateBehavior

Returns the first GotoStateBehavior in the collection.

→ GotoStateBehavior

Returns the GotoStateBehavior with the specified index or name.

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

Returns the GotoStateBehavior with the specified name.

name String The name.
→ GotoStateBehavior[]

Returns the GotoStateBehaviors within the specified range.

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

Returns the last GotoStateBehavior in the collection.

→ GotoStateBehavior

Returns the middle GotoStateBehavior in the collection.

→ GotoStateBehavior

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

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

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

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

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

Object of 1

Properties elsewhere that hold a GotoStateBehaviors.