Instance Properties
Name | Description | Access |
---|---|---|
length | number The number of objects in the collection. | read-only |
Methods
add( | [withProperties]) |
→ PrinterPreset |
anyItem( | ) |
→ PrinterPreset |
count( | ) |
→ number |
everyItem( | ) |
→ PrinterPreset |
firstItem( | ) |
→ PrinterPreset |
item( | index) |
→ PrinterPreset |
itemByName( | name) |
→ PrinterPreset |
itemByRange( | from, to) |
→ PrinterPreset |
lastItem( | ) |
→ PrinterPreset |
middleItem( | ) |
→ PrinterPreset |
nextItem( | obj) |
→ PrinterPreset |
previousItem( | obj) |
→ PrinterPreset |
toSource( | ) |
→ string |
-
add( [withProperties])→ PrinterPreset -
Creates a new PrinterPreset.
withProperties
Object Initial values for properties of the new PrinterPreset (Optional) -
anyItem( )→ PrinterPreset -
Returns any PrinterPreset in the collection.
-
count( )→ number -
Displays the number of elements in the PrinterPreset.
-
everyItem( )→ PrinterPreset -
Returns every PrinterPreset in the collection.
-
firstItem( )→ PrinterPreset -
Returns the first PrinterPreset in the collection.
-
item( index)→ PrinterPreset -
Returns the PrinterPreset with the specified index or name.
index
The index or name. Can accept: Long Integer or String. -
itemByName( name)→ PrinterPreset -
Returns the PrinterPreset with the specified name.
name
string The name. -
itemByRange( from, to)→ PrinterPreset -
Returns the PrinterPresets within the specified range.
from
The PrinterPreset, index, or name at the beginning of the range. Can accept: PrinterPreset, Long Integer or String. to
The PrinterPreset, index, or name at the end of the range. Can accept: PrinterPreset, Long Integer or String. -
lastItem( )→ PrinterPreset -
Returns the last PrinterPreset in the collection.
-
middleItem( )→ PrinterPreset -
Returns the middle PrinterPreset in the collection.
-
nextItem( obj)→ PrinterPreset -
Returns the PrinterPreset whose index follows the specified PrinterPreset in the collection.
obj
PrinterPreset The PrinterPreset whose index comes before the desired PrinterPreset. -
previousItem( obj)→ PrinterPreset -
Returns the PrinterPreset with the index previous to the specified index.
obj
PrinterPreset The index of the PrinterPreset that follows the desired PrinterPreset. -
toSource( )→ string -
Generates a string which, if executed, will return the PrinterPreset.