InDesign2026
API 21.5.1.73
Collection of ClearFormBehavior

ClearFormBehaviors

A collection of clear form behavior objects.

Properties

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

Methods

ClearFormBehavior

Creates a new ClearFormBehavior.

withProperties? Object Initial values for properties of the new ClearFormBehavior
Number

Displays the number of elements in the ClearFormBehavior.

ClearFormBehavior[]

Returns every ClearFormBehavior in the collection.

ClearFormBehavior

Returns the first ClearFormBehavior in the collection.

ClearFormBehavior

Returns the ClearFormBehavior with the specified index or name.

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

Returns the ClearFormBehavior with the specified name.

name String The name.
ClearFormBehavior[]

Returns the ClearFormBehaviors within the specified range.

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

Returns the last ClearFormBehavior in the collection.

ClearFormBehavior

Returns the middle ClearFormBehavior in the collection.

ClearFormBehavior

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

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

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

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

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

Object of 7

Properties elsewhere that hold a ClearFormBehaviors.