InDesign2026
API 21.5.1.73
Collection of IndexSection

IndexSections

A collection of index sections.

Properties

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

Methods

IndexSection

Returns the IndexSection with the specified index.

index Number The index.
IndexSection

Returns any IndexSection in the collection.

Number

Displays the number of elements in the IndexSection.

IndexSection[]

Returns every IndexSection in the collection.

IndexSection

Returns the first IndexSection in the collection.

IndexSection

Returns the IndexSection with the specified index or name.

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

Returns the IndexSection with the specified ID.

id Number The ID.
IndexSection

Returns the IndexSection with the specified name.

name String The name.
IndexSection[]

Returns the IndexSections within the specified range.

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

Returns the last IndexSection in the collection.

IndexSection

Returns the middle IndexSection in the collection.

IndexSection

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

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

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

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

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

Object of 1

Properties elsewhere that hold a IndexSections.