Adobe InDesign CS (3.0) Object Model JS: FlattenerPreset

InDesign CS

Class

FlattenerPreset

 A preset that contains transparency flattener properties.

QuickLinks

duplicate, extractLabel, insertLabel, remove

Hierarchy

Application
FlattenerPreset

Properties

PropertyTypeAccessDescription
clipComplexRegionsbool r/wIf true, ensures that the boundaries between vector and rasterized artwork fall along object paths.
convertAllStrokesToOutlinesbool r/wIf 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.
convertAllTextToOutlinesbool r/wIf 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.
gradientAndMeshResolutionnumber r/wThe 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.
idnumber readonlyThe unique ID of the FlattenerPreset.
indexnumber readonlyThe index of the FlattenerPreset within its containing object.
labelstring r/wA property that can be set to any string.
lineArtAndTextResolutionnumber r/wThe resolution for vector objects rasterized as a result of flattening. (Range: 1 to 9600) For information, see raster vector balance.
namestring r/wThe name of the FlattenerPreset.
parentApplication readonlyThe parent of the FlattenerPreset (a Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
rasterVectorBalanceFlattenerLevelReal r/wraster vector balance. Can return: FlattenerLevel enumerator or Real.

Methods

Instances

FlattenerPreset duplicate ()
Duplicates the FlattenerPreset.

string extractLabel (key: string)
Gets the label value associated with the specified key.

ParameterTypeDescription
keystringThe key.

void insertLabel (key: string, value: string)
Sets the label to the value associated with the specified key.

ParameterTypeDescription
keystringThe key.
valuestringThe value.

void remove ()
Deletes the FlattenerPreset.

Element of

EPSExportPreference.appliedFlattenerPreset

PDFExportPreference.appliedFlattenerPreset

PDFExportPreset.appliedFlattenerPreset

SVGExportPreference.appliedFlattenerPreset

Return

FlattenerPreset FlattenerPreset.duplicate ()

FlattenerPreset FlattenerPresets.add ([withProperties: Object])

Jongware, 27-Jun-2010 v3.0.3dContents :: Index