-
add( |
[layer] [, at=LocationOptions.UNKNOWN], reference [, withProperties]) |
→ Button |
-
Creates a new Button
layer
|
Layer
The layer on which to create the Button. (Optional)
|
at
|
LocationOptions
The location at which to insert the Button relative to the reference object or within the container object. (Optional)
|
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
|
Object
Initial values for properties of the new Button (Optional)
|
-
-
Returns any Button in the collection.
-
-
Displays the number of elements in the Button.
-
-
Returns every Button in the collection.
-
-
Returns the first Button in the collection.
-
-
Returns the Button with the specified index or name.
index
|
The index or name. Can accept: Long Integer or String.
|
-
-
Returns the Button with the specified ID.
-
-
Returns the Button with the specified name.
-
itemByRange( |
from, to) |
→ Button |
-
Returns the Buttons within the specified range.
from
|
The Button, index, or name at the beginning of the range. Can accept: Button, Long Integer or String.
|
to
|
The Button, index, or name at the end of the range. Can accept: Button, Long Integer or String.
|
-
-
Returns the last Button in the collection.
-
-
Returns the middle Button in the collection.
-
-
Returns the Button whose index follows the specified Button in the collection.
obj
|
Button
The Button whose index comes before the desired Button.
|
-
-
Returns the Button with the index previous to the specified index.
obj
|
Button
The index of the Button that follows the desired Button.
|
-
-
Generates a string which, if executed, will return the Button.