InDesign2026
API 21.5.1.73
Collection of FlattenerPreset

FlattenerPresets

A collection of transparency flattener presets.

Properties

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

Methods

→ FlattenerPreset

Returns the FlattenerPreset with the specified index.

index Number The index.
→ FlattenerPreset

Creates a new FlattenerPreset.

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

Returns any FlattenerPreset in the collection.

→ Number

Displays the number of elements in the FlattenerPreset.

→ FlattenerPreset[]

Returns every FlattenerPreset in the collection.

→ FlattenerPreset

Returns the first FlattenerPreset in the collection.

→ FlattenerPreset

Returns the FlattenerPreset with the specified index or name.

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

Returns the FlattenerPreset with the specified name.

name String The name.
→ FlattenerPreset[]

Returns the FlattenerPresets within the specified range.

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

Returns the last FlattenerPreset in the collection.

→ FlattenerPreset

Returns the middle FlattenerPreset in the collection.

→ FlattenerPreset

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

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

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

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

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

Object of 1

Properties elsewhere that hold a FlattenerPresets.