InDesign2026
API 21.5.1.73
Collection of Article

Articles

A collection of articles.

Properties

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

Methods

Article

Returns the Article with the specified index.

index Number The index.
Article

Creates a new Article

name? String The article name
articleExportStatus? Boolean The article's export status
at? 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.
withProperties? Object Initial values for properties of the new Article
Article

Returns any Article in the collection.

Number

Displays the number of elements in the Article.

Article[]

Returns every Article in the collection.

Article

Returns the first Article in the collection.

Article

Returns the Article with the specified index or name.

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

Returns the Article with the specified ID.

id Number The ID.
Article

Returns the Article with the specified name.

name String The name.
Article[]

Returns the Articles within the specified range.

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

Returns the last Article in the collection.

Article

Returns the middle Article in the collection.

Article

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

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

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

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

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

Object of 1

Properties elsewhere that hold a Articles.