DocumentPresets
A collection of document presets.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
DocumentPreset add( Object withProperties )
Creates a new DocumentPreset.
Parameters
Number count()
Displays the number of elements in the DocumentPreset.
DocumentPreset item( Mixed index )
Returns the DocumentPreset with the specified index or name.
Parameters
DocumentPreset itemByName( String name )
Returns the DocumentPreset with the specified name.
Parameters
DocumentPreset itemByID( Number id )
Returns the DocumentPreset with the specified ID.
Parameters
DocumentPreset itemByRange( Mixed from, Mixed to )
Returns the DocumentPresets within the specified range.
Parameters
DocumentPreset firstItem()
Returns the first DocumentPreset in the collection.
DocumentPreset lastItem()
Returns the last DocumentPreset in the collection.
DocumentPreset middleItem()
Returns the middle DocumentPreset in the collection.
DocumentPreset previousItem( DocumentPreset obj )
Returns the DocumentPreset with the index previous to the specified index.
Parameters
DocumentPreset nextItem( DocumentPreset obj )
Returns the DocumentPreset whose index follows the specified DocumentPreset in the collection.
Parameters
DocumentPreset anyItem()
Returns any DocumentPreset in the collection.
DocumentPreset everyItem()
Returns every DocumentPreset in the collection.
String toSource()
Generates a string which, if executed, will return the DocumentPreset.
DocumentPreset []( Number index )
Returns the DocumentPreset with the specified index.