CheckBoxes
A collection of checkboxes.
Go to Property Listing | Method Listing
Methods:
[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
CheckBox [] (index:Number)
Returns the CheckBox with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
CheckBox add (layer:Layer, [at:LocationOptions=LocationOptions], reference:Varies Document Layer MasterSpread Page Spread PageItem, withProperties:Object)
Creates a new CheckBox
Parameter |
Type |
Description |
---|---|---|
layer |
The layer on which to create the CheckBox. (Optional) |
|
at |
The location at which to insert the CheckBox relative to the reference object or within the container object. (Optional) (default: LocationOptions.UNKNOWN) |
|
reference |
The reference object. Note: Required when the at parameter is before or after. Can accept: Document, Spread, MasterSpread, Page, Layer or PageItem. (Optional) |
|
withProperties |
Initial values for properties of the new CheckBox (Optional) |
CheckBox anyItem ()
Returns any CheckBox in the collection.
Number count ()
Displays the number of elements in the CheckBox.
CheckBox everyItem ()
Returns every CheckBox in the collection.
CheckBox firstItem ()
Returns the first CheckBox in the collection.
CheckBox item (index:Varies LongInteger String)
Returns the CheckBox with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
CheckBox itemByID (id:Number)
Returns the CheckBox with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
CheckBox itemByName (name:String)
Returns the CheckBox with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
CheckBox itemByRange (from:Varies CheckBox LongInteger String, to:Varies CheckBox LongInteger String)
Returns the CheckBoxes within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The CheckBox, index, or name at the beginning of the range. Can accept: CheckBox, Long Integer or String. |
to |
LongInteger |
The CheckBox, index, or name at the end of the range. Can accept: CheckBox, Long Integer or String. |
CheckBox lastItem ()
Returns the last CheckBox in the collection.
CheckBox middleItem ()
Returns the middle CheckBox in the collection.
CheckBox nextItem (obj:CheckBox)
Returns the CheckBox whose index follows the specified CheckBox in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The CheckBox whose index comes before the desired CheckBox. |
CheckBox previousItem (obj:CheckBox)
Returns the CheckBox with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the CheckBox that follows the desired CheckBox. |
String toSource ()
Generates a string which, if executed, will return the CheckBox.
Object of
PlaceGun.checkBoxes
Document.checkBoxes
Layer.checkBoxes
Spread.checkBoxes
Page.checkBoxes
MasterSpread.checkBoxes
Oval.checkBoxes
Rectangle.checkBoxes
GraphicLine.checkBoxes
Polygon.checkBoxes
Group.checkBoxes
SplineItem.checkBoxes
Snippet.checkBoxes
Cell.checkBoxes
Table.checkBoxes
Text.checkBoxes
Character.checkBoxes
Word.checkBoxes
Line.checkBoxes
TextColumn.checkBoxes
Paragraph.checkBoxes
TextStyleRange.checkBoxes
InsertionPoint.checkBoxes
TextFrame.checkBoxes
Story.checkBoxes
EndnoteTextFrame.checkBoxes
XmlStory.checkBoxes
ShowHideFieldsBehavior.fieldsToHide
Page.tabOrder
ShowHideFieldsBehavior.fieldsToShow