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