InDesign2026
API 21.5.1.73
Collection of CheckBox

CheckBoxes

A collection of checkboxes.

Properties

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

Methods

CheckBox

Returns the CheckBox with the specified index.

index Number The index.
CheckBox

Creates a new CheckBox

layer? Layer The layer on which to create the CheckBox.
at? LocationOptions The location at which to insert the CheckBox relative to the reference object or within the container object.
reference? Document | Layer | MasterSpread | Page | Spread | PageItem The reference object. Note: Required when the at parameter is before or after. Can accept: Document, Spread, MasterSpread, Page, Layer or PageItem.
withProperties? Object Initial values for properties of the new CheckBox
CheckBox

Returns any CheckBox in the collection.

Number

Displays the number of elements in the CheckBox.

CheckBox[]

Returns every CheckBox in the collection.

CheckBox

Returns the first CheckBox in the collection.

CheckBox

Returns the CheckBox with the specified index or name.

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

Returns the CheckBox with the specified ID.

id Number The ID.
CheckBox

Returns the CheckBox with the specified name.

name String The name.
CheckBox[]

Returns the CheckBoxes within the specified range.

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

Returns the last CheckBox in the collection.

CheckBox

Returns the middle CheckBox in the collection.

CheckBox

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

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

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

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

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

Object of 31

Properties elsewhere that hold a CheckBoxes.