InDesign Server2025
API 20.5.0.49
Collection of Index_

Indexes

A collection of indexes.

Properties

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

Methods

Index_

Returns the Index with the specified index.

index Number The index.
Index_

Creates a new Index.

withProperties? Object Initial values for properties of the new Index
Index_

Returns any Index in the collection.

Number

Displays the number of elements in the Index.

Index_[]

Returns every Index in the collection.

Index_

Returns the first Index in the collection.

Index_

Returns the Index with the specified index or name.

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

Returns the Index with the specified ID.

id Number The ID.
Index_

Returns the Index with the specified name.

name String The name.
Index_[]

Returns the Indexes within the specified range.

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

Returns the last Index in the collection.

Index_

Returns the middle Index in the collection.

Index_

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

obj Index_ The Index whose index comes before the desired Index.
Index_

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

obj Index_ The index of the Index that follows the desired Index.
String

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

Object of 1

Properties elsewhere that hold a Indexes.