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