InDesign2026
API 21.5.1.73
Collection of DialogRow

DialogRows

A collection of dialog rows.

Properties

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

Methods

DialogRow

Returns the DialogRow with the specified index.

index Number The index.
DialogRow

Creates a new DialogRow.

withProperties? Object Initial values for properties of the new DialogRow
DialogRow

Returns any DialogRow in the collection.

Number

Displays the number of elements in the DialogRow.

DialogRow[]

Returns every DialogRow in the collection.

DialogRow

Returns the first DialogRow in the collection.

DialogRow

Returns the DialogRow with the specified index or name.

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

Returns the DialogRow with the specified ID.

id Number The ID.
DialogRow[]

Returns the DialogRows within the specified range.

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

Returns the last DialogRow in the collection.

DialogRow

Returns the middle DialogRow in the collection.

DialogRow

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

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

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

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

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

Object of 1

Properties elsewhere that hold a DialogRows.