FlattenerPreset

A preset that contains transparency flattener properties.

Methods:

duplicate, extractLabel, insertLabel, remove

Objects:

Boolean, FlattenerLevel, Number, Object, String,

Property Listing

Property

Type

Access

Description

clipComplexRegions

Boolean

read/write

If true, ensures that the boundaries between vector and rasterized artwork fall along object paths.

convertAllStrokesToOutlines

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.

convertAllTextToOutlines

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.

gradientAndMeshResolution

Number (range 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.

id

Number

readonly

The unique ID of the FlattenerPreset.

index

Number

readonly

The index of the FlattenerPreset within its containing object.

label

String

read/write

A property that can be set to any string.

lineArtAndTextResolution

Number (range 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.

name

String

read/write

The name of the FlattenerPreset.

parent

Application

readonly

The parent of the FlattenerPreset (a Application).

properties

Object

read/write

A property that allows setting of several properties at the same time.

rasterVectorBalance

FlattenerLevel

FlattenerLevel.HIGH

FlattenerLevel.LOW

FlattenerLevel.MEDIUM

FlattenerLevel.MEDIUM_HIGH

FlattenerLevel.MEDIUM_LOW

Real

read/write

raster vector balance. Can return: FlattenerLevel enumerator or Real.

Method Listing

FlattenerPreset duplicate ()

Duplicates the FlattenerPreset.

String extractLabel (key:String)

Gets the label value associated with the specified key.

Parameter

Type

Description

key

String

The key.

undefined insertLabel (key:String, value:String)

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

Parameter

Type

Description

key

String

The key.

value

String

The value.

undefined remove ()

Deletes the FlattenerPreset.

Object of

EPSExportPreference.appliedFlattenerPreset

PDFExportPreference.appliedFlattenerPreset

PDFExportPreset.appliedFlattenerPreset

SVGExportPreference.appliedFlattenerPreset

Return

FlattenerPresets.add()

FlattenerPreset.duplicate()