InDesign2026
API 21.5.1.73
Collection of GotoPageBehavior

GotoPageBehaviors

A collection of go to page behavior objects.

Properties

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

Methods

→ GotoPageBehavior

Returns the GotoPageBehavior with the specified index.

index Number The index.
→ GotoPageBehavior

Creates a new GotoPageBehavior.

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

Displays the number of elements in the GotoPageBehavior.

→ GotoPageBehavior[]

Returns every GotoPageBehavior in the collection.

→ GotoPageBehavior

Returns the first GotoPageBehavior in the collection.

→ GotoPageBehavior

Returns the GotoPageBehavior with the specified index or name.

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

Returns the GotoPageBehavior with the specified name.

name String The name.
→ GotoPageBehavior[]

Returns the GotoPageBehaviors within the specified range.

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

Returns the last GotoPageBehavior in the collection.

→ GotoPageBehavior

Returns the middle GotoPageBehavior in the collection.

→ GotoPageBehavior

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

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

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

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

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

Object of 1

Properties elsewhere that hold a GotoPageBehaviors.