A collection of document presets.
Go to Property Listing | Method Listing
[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
DocumentPreset [] (index:Number)
Returns the DocumentPreset with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
DocumentPreset add (withProperties:Object)
Creates a new DocumentPreset.
Parameter |
Type |
Description |
---|---|---|
withProperties |
Initial values for properties of the new DocumentPreset (Optional) |
DocumentPreset anyItem ()
Returns any DocumentPreset in the collection.
Number count ()
Displays the number of elements in the DocumentPreset.
DocumentPreset everyItem ()
Returns every DocumentPreset in the collection.
DocumentPreset firstItem ()
Returns the first DocumentPreset in the collection.
DocumentPreset item (index:Varies LongInteger String)
Returns the DocumentPreset with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
DocumentPreset itemByID (id:Number)
Returns the DocumentPreset with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
DocumentPreset itemByName (name:String)
Returns the DocumentPreset with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
DocumentPreset itemByRange (from:Varies DocumentPreset LongInteger String, to:Varies DocumentPreset LongInteger String)
Returns the DocumentPresets within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The DocumentPreset, index, or name at the beginning of the range. Can accept: DocumentPreset, Long Integer or String. |
to |
LongInteger |
The DocumentPreset, index, or name at the end of the range. Can accept: DocumentPreset, Long Integer or String. |
DocumentPreset lastItem ()
Returns the last DocumentPreset in the collection.
DocumentPreset middleItem ()
Returns the middle DocumentPreset in the collection.
DocumentPreset nextItem (obj:DocumentPreset)
Returns the DocumentPreset whose index follows the specified DocumentPreset in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The DocumentPreset whose index comes before the desired DocumentPreset. |
DocumentPreset previousItem (obj:DocumentPreset)
Returns the DocumentPreset with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the DocumentPreset that follows the desired DocumentPreset. |
String toSource ()
Generates a string which, if executed, will return the DocumentPreset.
Application.documentPresets