InDesign2026
API 21.5.1.73
Collection of Dropdown

Dropdowns

A collection of dropdowns.

Properties

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

Methods

→ Dropdown

Returns the Dropdown with the specified index.

index Number The index.
→ Dropdown

Creates a new Dropdown.

withProperties? Object Initial values for properties of the new Dropdown
→ Dropdown

Returns any Dropdown in the collection.

→ Number

Displays the number of elements in the Dropdown.

→ Dropdown[]

Returns every Dropdown in the collection.

→ Dropdown

Returns the first Dropdown in the collection.

→ Dropdown

Returns the Dropdown with the specified index or name.

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

Returns the Dropdown with the specified ID.

id Number The ID.
→ Dropdown[]

Returns the Dropdowns within the specified range.

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

Returns the last Dropdown in the collection.

→ Dropdown

Returns the middle Dropdown in the collection.

→ Dropdown

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

obj Dropdown The Dropdown whose index comes before the desired Dropdown.
→ Dropdown

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

obj Dropdown The index of the Dropdown that follows the desired Dropdown.
→ String

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

Object of 4

Properties elsewhere that hold a Dropdowns.