PrinterPresets
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
PrinterPreset [] (index:
number)
Returns the PrinterPreset with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
PrinterPreset add ([withProperties:
Object])
Creates a new PrinterPreset.
Parameter | Type | Description |
---|---|---|
withProperties | Object | Initial values for properties of the new PrinterPreset (Optional) |
PrinterPreset anyItem ()
Returns any PrinterPreset in the collection.
number count ()
Displays the number of elements in the PrinterPreset.
Array
of PrinterPreset everyItem ()
Returns every PrinterPreset in the collection.
PrinterPreset firstItem ()
Returns the first PrinterPreset in the collection.
PrinterPreset item (index:
varies)
Returns the PrinterPreset with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
PrinterPreset itemByName (name:
string)
Returns the PrinterPreset with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array
of PrinterPreset itemByRange (from:
varies, to:
varies)
Returns the PrinterPresets within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer PrinterPreset String | The PrinterPreset, index, or name at the beginning of the range. Can accept: PrinterPreset, Long Integer or String. |
to | Long Integer PrinterPreset String | The PrinterPreset, index, or name at the end of the range. Can accept: PrinterPreset, Long Integer or String. |
PrinterPreset lastItem ()
Returns the last PrinterPreset in the collection.
PrinterPreset middleItem ()
Returns the middle PrinterPreset in the collection.
PrinterPreset nextItem (obj:
PrinterPreset)
Returns the PrinterPreset whose index follows the specified PrinterPreset in the collection.
Parameter | Type | Description |
---|---|---|
obj | PrinterPreset | The PrinterPreset whose index comes before the desired PrinterPreset. |
PrinterPreset previousItem (obj:
PrinterPreset)
Returns the PrinterPreset with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | PrinterPreset | The index of the PrinterPreset that follows the desired PrinterPreset. |
string toSource ()
Generates a string which, if executed, will return the PrinterPreset.
Element of
Application.printerPresets
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |