FlattenerPreset
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
clipComplexRegions | bool | r/w | If true, ensures that the boundaries between vector and rasterized artwork fall along object paths. |
convertAllStrokesToOutlines | bool | r/w | 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 | bool | r/w | 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 | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
gradientAndMeshResolution | number | r/w | 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. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
label | string | r/w | A property that can be set to any string. |
lineArtAndTextResolution | number | r/w | The resolution for vector objects rasterized as a result of flattening. (Range: 1 to 9600) For information, see raster vector balance. |
name | string | r/w | The name of the FlattenerPreset. |
parent | Application | readonly | The parent of the FlattenerPreset (a Application). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
rasterVectorBalance | FlattenerLevelReal (0 - 100) | r/w | 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
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
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. |
Array of FlattenerPreset getElements ()
Resolves the object specifier, creating an array of object references.
void 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. |
void remove ()
Deletes the FlattenerPreset.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the FlattenerPreset.
string toSpecifier ()
Retrieves the object specifier.
Element of
EPSExportPreference.appliedFlattenerPreset
PDFExportPreference.appliedFlattenerPreset
PDFExportPreset.appliedFlattenerPreset
Used in:
FlattenerPreset FlattenerPresets.nextItem (obj: FlattenerPreset)
FlattenerPreset FlattenerPresets.previousItem (obj: FlattenerPreset)
Return
FlattenerPreset FlattenerPreset.duplicate ()
Array of FlattenerPreset FlattenerPreset.getElements ()
FlattenerPreset FlattenerPresets.[] (index: number)
FlattenerPreset FlattenerPresets.add ([withProperties: Object])
FlattenerPreset FlattenerPresets.anyItem ()
Array of FlattenerPreset FlattenerPresets.everyItem ()
FlattenerPreset FlattenerPresets.firstItem ()
FlattenerPreset FlattenerPresets.item (index: varies)
FlattenerPreset FlattenerPresets.itemByID (id: number)
FlattenerPreset FlattenerPresets.itemByName (name: string)
Array of FlattenerPreset FlattenerPresets.itemByRange (from: varies, to: varies)
FlattenerPreset FlattenerPresets.lastItem ()
FlattenerPreset FlattenerPresets.middleItem ()
FlattenerPreset FlattenerPresets.nextItem (obj: FlattenerPreset)
FlattenerPreset FlattenerPresets.previousItem (obj: FlattenerPreset)
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |