PreferencesPNGExportPreference

PNG export preferences.

Extends

Instance Properties

Name Description Access
antiAlias bool If true, use anti-aliasing for text and vectors during export. read-write
eventListeners EventListeners A collection of event listeners. read-only
events Events A collection of events. read-only
exportResolution number The export resolution expressed as a real number instead of an integer. (Range: 1.0 to 2400.0) read-write
exportingSpread bool 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. read-write
isValid bool Returns true if the object specifier resolves to valid objects. read-only
pageString string 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. read-write
parent Application The parent of the PNGExportPreference (a Application). read-only
pngColorSpace PNGColorSpaceEnum RGB or Gray read-write
pngExportRange PNGExportRangeEnum The page range to export. read-write
pngQuality PNGQualityEnum The compression quality. read-write
properties Object A property that allows setting of several properties at the same time. read-write
simulateOverprint bool If true, simulates the effects of overprinting spot and process colors in the same way they would occur when printing. read-write
transparentBackground bool If true, use a transparent background for the exported PNG. read-write
useDocumentBleeds bool If true, uses the document's bleed settings in the exported PNG. read-write

Methods

addEventListener(
eventType, handler ​[, captures])
 → EventListener
removeEventListener(
eventType, handler ​[, captures])
 → bool
toSource(
)
 → string
toSpecifier(
)
 → string
addEventListener(
eventType, handler ​[, captures=false])
 → EventListener
Adds an event listener.
eventType string The event type.
handler The event handler. Can accept: File or JavaScript Function.
captures bool This parameter is obsolete. (Optional)
getElements(
)
 → PNGExportPreference
Resolves the object specifier, creating an array of object references.
removeEventListener(
eventType, handler ​[, captures=false])
 → bool
Removes the event listener.
eventType string The registered event type.
handler The registered event handler. Can accept: File or JavaScript Function.
captures bool This parameter is obsolete. (Optional)
toSource(
)
 → string
Generates a string which, if executed, will return the PNGExportPreference.
toSpecifier(
)
 → string
Retrieves the object specifier.