InDesign Server2025
API 20.5.0.49
Collection of RadioButton

RadioButtons

A collection of radio buttons.

Properties

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

Methods

RadioButton

Returns the RadioButton with the specified index.

index Number The index.
RadioButton

Creates a new RadioButton

layer? Layer The layer on which to create the RadioButton.
at? LocationOptions The location at which to insert the RadioButton 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 RadioButton
RadioButton

Returns any RadioButton in the collection.

Number

Displays the number of elements in the RadioButton.

RadioButton[]

Returns every RadioButton in the collection.

RadioButton

Returns the first RadioButton in the collection.

RadioButton

Returns the RadioButton with the specified index or name.

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

Returns the RadioButton with the specified ID.

id Number The ID.
RadioButton

Returns the RadioButton with the specified name.

name String The name.
RadioButton[]

Returns the RadioButtons within the specified range.

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

Returns the last RadioButton in the collection.

RadioButton

Returns the middle RadioButton in the collection.

RadioButton

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

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

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

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

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

Object of 30

Properties elsewhere that hold a RadioButtons.