PNG export preferences.
Go to Property Listing | Method Listing
toSource, getElements, toSpecifier, addEventListener, removeEventListener
Application, Boolean, EventListeners, Events, Number, Object, PNGColorSpaceEnum, PNGExportRangeEnum, PNGQualityEnum, String,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
antiAlias |
read/write |
If true, use anti-aliasing for text and vectors during export. |
|
|
eventListeners |
readonly |
A collection of event listeners. |
|
|
events |
readonly |
A collection of events. |
|
|
exportResolution |
Number (range 1 - 2400) |
read/write |
The export resolution expressed as a real number instead of an integer. (Range: 1.0 to 2400.0) |
|
exportingSpread |
read/write |
If true, exports each spread as a single PNG file. If false, exports facing pages as separate files and appends sequential numbers to each file name. |
|
|
isValid |
readonly |
Returns true if the object specifier resolves to valid objects. |
|
|
pageString |
read/write |
The page(s) to export, specified as a page number or an array of page numbers. Note: Valid when PNG export range is not all. |
|
|
parent |
readonly |
The parent of the PNGExportPreference (a Application). |
|
|
pngColorSpace |
PNGColorSpaceEnum.RGB PNGColorSpaceEnum.GRAY |
read/write |
RGB or Gray |
|
pngExportRange |
PNGExportRangeEnum.EXPORT_RANGE PNGExportRangeEnum.EXPORT_ALL |
read/write |
The page range to export. |
|
pngQuality |
PNGQualityEnum.LOW PNGQualityEnum.MEDIUM PNGQualityEnum.HIGH PNGQualityEnum.MAXIMUM |
read/write |
The compression quality. |
|
properties |
read/write |
A property that allows setting of several properties at the same time. |
|
|
simulateOverprint |
read/write |
If true, simulates the effects of overprinting spot and process colors in the same way they would occur when printing. |
|
|
transparentBackground |
read/write |
If true, use a transparent background for the exported PNG. |
|
|
useDocumentBleeds |
read/write |
If true, uses the document's bleed settings in the exported PNG. |
EventListener addEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Adds an event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The event type. |
|
|
handler |
Varies |
The event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
PNGExportPreference getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies, [captures:Boolean=Boolean])
Removes the event listener.
|
Parameter |
Type |
Description |
|---|---|---|
|
eventType |
The registered event type. |
|
|
handler |
Varies |
The registered event handler. Can accept: File or JavaScript Function. |
|
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the PNGExportPreference.
String toSpecifier ()
Retrieves the object specifier.