InDesign2026
API 21.5.1.73
Object

FlattenerPreset

A preset that contains transparency flattener properties.

Hierarchy

Application

FlattenerPreset

Properties

NameType AccessDescription
Boolean read/write If true, ensures that the boundaries between vector and rasterized artwork fall along object paths.
Boolean read/write If true, converts all strokes to outlines and ensures that stroke widths remain constant during flattening. Note: Can cause thin strokes to appear slightly thicker than their original width. Affects all strokes, not only strokes involved in the transparency.
Boolean read/write If true, converts all text to outlines and discards all type glyph information on spreads with transparency; ensures that the width of text strokes remains constant during flattening. Note: Can cause small fonts to appear slightly thicker when viewed in Acrobat or printed on low-quality desktop printers, but does not affect type quality when printed on high-resolution printers or imagesetters.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Number 0–1200 read/write The resolution for gradients rasterized as a result of flattening and for drop shadow and feathers when printed or exported. (Range: 0 to 1200) Note: Resolutions higher than 300 ppi increase file size and printing time but generally do not improve the image quality.
Number readonly The unique ID of the FlattenerPreset.
Number readonly The index of the FlattenerPreset within its containing object.
Boolean readonly Returns true if the object specifier resolves to valid objects.
String read/write A property that can be set to any string.
Number 1–9600 read/write The resolution for vector objects rasterized as a result of flattening. (Range: 1 to 9600) For information, see raster vector balance.
String read/write The name of the FlattenerPreset.
Application readonly The parent of the FlattenerPreset (a Application).
Object read/write A property that allows setting of several properties at the same time.
FlattenerLevel | Real(0-100)
read/write The amount of vector artwork to rasterize during flattening, specified as an enumerator or as a percentage in the range 0 to 100. Can return: FlattenerLevel enumerator or Real (0 - 100).

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

Gets the label value associated with the specified key.

key String The key.
FlattenerPreset[]

Resolves the object specifier, creating an array of object references.

void

Sets the label to the value associated with the specified key.

key String The key.
value String The value.
void

Deletes the FlattenerPreset.

Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

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

String

Retrieves the object specifier.

Object of 6

Properties elsewhere that hold a FlattenerPreset.

Parameter of 3

Method parameters that accept a FlattenerPreset.

Return 15

Methods that return a FlattenerPreset.