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