InDesign2026
API 21.5.1.73
Collection of PrinterPreset

PrinterPresets

A collection of printer presets.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

→ PrinterPreset

Returns the PrinterPreset with the specified index.

index Number The index.
→ PrinterPreset

Creates a new PrinterPreset.

withProperties? Object Initial values for properties of the new PrinterPreset
→ PrinterPreset

Returns any PrinterPreset in the collection.

→ Number

Displays the number of elements in the PrinterPreset.

→ PrinterPreset[]

Returns every PrinterPreset in the collection.

→ PrinterPreset

Returns the first PrinterPreset in the collection.

→ PrinterPreset

Returns the PrinterPreset with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
→ PrinterPreset

Returns the PrinterPreset with the specified name.

name String The name.
→ PrinterPreset[]

Returns the PrinterPresets within the specified range.

from LongInteger | PrinterPreset | String The PrinterPreset, index, or name at the beginning of the range. Can accept: PrinterPreset, Long Integer or String.
to LongInteger | PrinterPreset | String The PrinterPreset, index, or name at the end of the range. Can accept: PrinterPreset, Long Integer or String.
→ PrinterPreset

Returns the last PrinterPreset in the collection.

→ PrinterPreset

Returns the middle PrinterPreset in the collection.

→ PrinterPreset

Returns the PrinterPreset whose index follows the specified PrinterPreset in the collection.

obj PrinterPreset The PrinterPreset whose index comes before the desired PrinterPreset.
→ PrinterPreset

Returns the PrinterPreset with the index previous to the specified index.

obj PrinterPreset The index of the PrinterPreset that follows the desired PrinterPreset.
→ String

Generates a string which, if executed, will return the PrinterPreset.

Object of 1

Properties elsewhere that hold a PrinterPresets.