InDesign Server2025
API 20.5.0.49
Object

Article

An article

Hierarchy

Document

Article

ArticleMember

Properties

NameType AccessDescription
Boolean read/write The export status of the Article
ArticleMembers<ArticleMember> readonly A collection of article members.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Number readonly The unique ID of the Article.
Number readonly The index of the Article 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 Article.
Document readonly The parent of the Article (a Document).
Object read/write A property that allows setting of several properties at the same time.

Methods

void

Populates the article with all page items in the document.

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

Gets the label value associated with the specified key.

key String The key.
Article[]

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

Moves the Article to the specified location.

to LocationOptions The location relative to the reference object or within the containing object.
reference? Article The reference object. Note: Required when the to value specifies before or after.
void

Deletes the Article.

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

String

Retrieves the object specifier.

Object of 35

Properties elsewhere that hold a Article.

Parameter of 5

Method parameters that accept a Article.

Return 15

Methods that return a Article.