InDesign Server2025
API 20.5.0.49
Object

EndnoteRange

An endnote text range.

Properties

NameType AccessDescription
NothingEnum[] | SpecialCharacters[] | SpecialCharacters[] | String[] | Strings[] | Strings[] | NothingEnums[] | SpecialCharacters[]
read/write EndnoteRange Contents, It will skip the endnote number while setting/replacing the content into endnote range. Can return: String, SpecialCharacters enumerator or Array of Strings or SpecialCharacters enumerators. Can also accept: NothingEnum enumerator or Array of Strings, SpecialCharacters enumerators or NothingEnum enumerators.
Number readonly Ending Index of the endnote range object.
Number readonly Starting Index of the endnote range object.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Number readonly The unique ID of the EndnoteRange.
Number readonly The index of the EndnoteRange within its containing object.
Boolean readonly Returns true if the object specifier resolves to valid objects.
String read/write A property that can be set to any string.
String read/write The name of the EndnoteRange; this is an alias to the EndnoteRange's label property.
Character | InsertionPoint | Line | Paragraph | Story | TextColumn | TextStyleRange | Word | Text | XmlStory readonly The parent of the EndnoteRange (a Text, InsertionPoint, TextStyleRange, Paragraph, TextColumn, Line, Word, Character, Story or XmlStory).
Object read/write A property that allows setting of several properties at the same time.
Endnote read/write The endnote reference corresponding to the endnote text range.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
void

Deletes the endnote range and the associated endnote anchor.

String

Gets the label value associated with the specified key.

key String The key.
EndnoteRange[]

Resolves the object specifier, creating an array of object references.

void

Sets the label to the value associated with the specified key.

key String The key.
value String The value.
Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

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

String

Retrieves the object specifier.

Object of 4

Properties elsewhere that hold a EndnoteRange.

Parameter of 3

Method parameters that accept a EndnoteRange.

Return 13

Methods that return a EndnoteRange.