InDesign2026
API 21.5.1.73
Collection of SoundBehavior

SoundBehaviors

A collection of sound behavior objects.

Properties

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

Methods

→ SoundBehavior

Returns the SoundBehavior with the specified index.

index Number The index.
→ SoundBehavior

Creates a new SoundBehavior.

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

Returns any SoundBehavior in the collection.

→ Number

Displays the number of elements in the SoundBehavior.

→ SoundBehavior[]

Returns every SoundBehavior in the collection.

→ SoundBehavior

Returns the first SoundBehavior in the collection.

→ SoundBehavior

Returns the SoundBehavior with the specified index or name.

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

Returns the SoundBehavior with the specified ID.

id Number The ID.
→ SoundBehavior

Returns the SoundBehavior with the specified name.

name String The name.
→ SoundBehavior[]

Returns the SoundBehaviors within the specified range.

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

Returns the last SoundBehavior in the collection.

→ SoundBehavior

Returns the middle SoundBehavior in the collection.

→ SoundBehavior

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

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

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

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

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

Object of 7

Properties elsewhere that hold a SoundBehaviors.