FlattenerPreference
Flattener preferences.
FlattenerPreference Properties
| Property |
Type |
Access |
Description |
| clipComplexRegions |
Boolean |
r/w |
Clip rasterized areas of the page to the objects which are actually rasterized. |
| convertAllStrokesToOutlines |
Boolean |
r/w |
If true, convert all strokes to outlines. |
| convertAllTextToOutlines |
Boolean |
r/w |
If true, convert all text to outlines. |
| gradientAndMeshResolution |
Real |
r/w |
Resolution at which gradients and mesh are rasterized, when necessary. |
| lineArtAndTextResolution |
Real |
r/w |
Resolution of transparency effects for line art and text (drop shadows and feathering). |
| parent |
Object |
read |
The parent of the object. |
| properties |
An array of property names and values |
r/w |
Property that allows setting of several properties at the same time. |
| rasterVectorBalance |
FlattenerLevel enumeration, Real (0 – 100) |
r/w |
A parameter used in flattening transparent objects (from 0 to 100). Higher values favor the creation of more vector objects; lower numbers favor rasterization. |
FlattenerPreference Methods
| Method |
Returns |
Description |
| getElements |
Array of Objects |
Resolve the object specifier. |
| toSource |
String |
Generate JavaScript source that, if executed, will return the specified objects. |
| toSpecifier |
String |
Retrieve the object specifier. |