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