InDesign2026
API 21.5.1.73
Collection of Endnote

Endnotes

A collection of endnotes.

Properties

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

Methods

Endnote

Returns the Endnote with the specified index.

index Number The index.
Endnote

Returns any Endnote in the collection.

Number

Displays the number of elements in the Endnote.

Endnote[]

Returns every Endnote in the collection.

Endnote

Returns the first Endnote in the collection.

Endnote

Returns the Endnote with the specified index or name.

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

Returns the Endnote with the specified ID.

id Number The ID.
Endnote

Returns the Endnote with the specified name.

name String The name.
Endnote[]

Returns the Endnotes within the specified range.

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

Returns the last Endnote in the collection.

Endnote

Returns the middle Endnote in the collection.

Endnote

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

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

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

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

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

Object of 5

Properties elsewhere that hold a Endnotes.