InDesign2026
API 21.5.1.73
Collection of HiddenText

HiddenTexts

A collection of hidden text objects.

Properties

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

Methods

→ HiddenText

Returns the HiddenText with the specified index.

index Number The index.
→ HiddenText

Returns any HiddenText in the collection.

→ Number

Displays the number of elements in the HiddenText.

→ HiddenText[]

Returns every HiddenText in the collection.

→ HiddenText

Returns the first HiddenText in the collection.

→ HiddenText

Returns the HiddenText with the specified index or name.

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

Returns the HiddenText with the specified ID.

id Number The ID.
→ HiddenText

Returns the HiddenText with the specified name.

name String The name.
→ HiddenText[]

Returns the HiddenTexts within the specified range.

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

Returns the last HiddenText in the collection.

→ HiddenText

Returns the middle HiddenText in the collection.

→ HiddenText

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

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

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

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

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

Object of 16

Properties elsewhere that hold a HiddenTexts.