InDesign2026
API 21.5.1.73
Collection of Language

Languages

A collection of languages.

Properties

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

Methods

Language

Returns the Language with the specified index.

index Number The index.
Language

Returns any Language in the collection.

Number

Displays the number of elements in the Language.

Language[]

Returns every Language in the collection.

Language

Returns the first Language in the collection.

Language

Returns the Language with the specified index or name.

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

Returns the Language with the specified ID.

id Number The ID.
Language

Returns the Language with the specified name.

name String The name.
Language[]

Returns the Languages within the specified range.

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

Returns the last Language in the collection.

Language

Returns the middle Language in the collection.

Language

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

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

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

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

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

Object of 1

Properties elsewhere that hold a Languages.