InDesign2026
API 21.5.1.73
Collection of GotoAnchorBehavior

GotoAnchorBehaviors

A collection of goto anchor behavior objects.

Properties

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

Methods

GotoAnchorBehavior

Creates a new GotoAnchorBehavior.

withProperties? Object Initial values for properties of the new GotoAnchorBehavior
Number

Displays the number of elements in the GotoAnchorBehavior.

GotoAnchorBehavior

Returns the first GotoAnchorBehavior in the collection.

GotoAnchorBehavior

Returns the GotoAnchorBehavior with the specified index or name.

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

Returns the GotoAnchorBehaviors within the specified range.

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

Returns the middle GotoAnchorBehavior in the collection.

GotoAnchorBehavior

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

obj GotoAnchorBehavior The GotoAnchorBehavior whose index comes before the desired GotoAnchorBehavior.
GotoAnchorBehavior

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

obj GotoAnchorBehavior The index of the GotoAnchorBehavior that follows the desired GotoAnchorBehavior.
String

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

Object of 7

Properties elsewhere that hold a GotoAnchorBehaviors.