InDesign2026
API 21.5.1.73
Collection of ViewZoomBehavior

ViewZoomBehaviors

A collection of view zoom behavior objects.

Properties

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

Methods

→ ViewZoomBehavior

Returns the ViewZoomBehavior with the specified index.

index Number The index.
→ ViewZoomBehavior

Creates a new ViewZoomBehavior.

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

Displays the number of elements in the ViewZoomBehavior.

→ ViewZoomBehavior[]

Returns every ViewZoomBehavior in the collection.

→ ViewZoomBehavior

Returns the first ViewZoomBehavior in the collection.

→ ViewZoomBehavior

Returns the ViewZoomBehavior with the specified index or name.

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

Returns the ViewZoomBehavior with the specified name.

name String The name.
→ ViewZoomBehavior[]

Returns the ViewZoomBehaviors within the specified range.

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

Returns the last ViewZoomBehavior in the collection.

→ ViewZoomBehavior

Returns the middle ViewZoomBehavior in the collection.

→ ViewZoomBehavior

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

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

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

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

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

Object of 7

Properties elsewhere that hold a ViewZoomBehaviors.