InDesign2026
API 21.5.1.73
Object

EndnoteOption

Options for specifying default endnote formatting.

Preference EndnoteOption
Hierarchy

Application | Document

EndnoteOption

Properties

NameType AccessDescription
FootnoteMarkerPositioning | String
read/write The position of endnote reference numbers in the main text. Can return: FootnoteMarkerPositioning enumerator or String.
CharacterStyle read/write The character style to apply to endnote reference numbers in the main text.
FootnoteNumberingStyle | String
+3 more
read/write The endnote numbering style. Can return: FootnoteNumberingStyle enumerator or String.
String read/write The prefix text of the endnote. (Limit: 0 to 100 characters)
String 0–100 read/write The text to insert between the endnote marker number and the endnote text. (Range: 0 to 100 characters)
String read/write The suffix text of the endnote. (Limit: 0 to 100 characters)
ParagraphStyle read/write The paragraph style to apply to endnote text.
String read/write Title of the endnotes. (Limit: 0 to 100 characters)
ParagraphStyle read/write The paragraph style to apply to endnote title.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
EndnoteFrameCreate | String
read/write Frame creation of the endnotes. Can return: EndnoteFrameCreate enumerator or String.
Boolean readonly Returns true if the object specifier resolves to valid objects.
Application | Document readonly The parent of the EndnoteOption (a Application or Document).
Object read/write A property that allows setting of several properties at the same time.
EndnoteRestarting | String
read/write The point at which to restart endnote numbering. Can return: EndnoteRestarting enumerator or String.
EndnoteScope | String
read/write Scope value of the endnotes. Can return: EndnoteScope enumerator or String.
FootnotePrefixSuffix | String
read/write The position of the endnote prefix and/or suffix. Can return: FootnotePrefixSuffix enumerator or String.
Number 1–100000 read/write The number at which to start endnote numbering.

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.
EndnoteOption[]

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

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 EndnoteOption.

String

Retrieves the object specifier.

Object of 5

Properties elsewhere that hold a EndnoteOption.

Return 1

Methods that return a EndnoteOption.