PreferencesJPEGExportPreference

JPEG export preferences.

Extends

Instance Properties

Name Description Access
antiAlias bool If true, use anti-aliasing for text and vectors during export. read-write
embedColorProfile bool True to embed the color profile, false otherwise. 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 JPEG 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
jpegColorSpace JpegColorSpaceEnum One of RGB, CMYK or Gray read-write
jpegExportRange ExportRangeOrAllPages The page range to export. read-write
jpegQuality JPEGOptionsQuality The compression quality. read-write
jpegRenderingStyle JPEGOptionsFormat The rendering style. read-write
pageString string The page(s) to export, specified as a page number or an array of page numbers. Note: Valid when JPEG export range is not all. read-write
parent Application The parent of the JPEGExportPreference (a Application). read-only
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
useDocumentBleeds bool If true, uses the document's bleed settings in the exported JPEG. 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(
)
 → JPEGExportPreference
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 JPEGExportPreference.
toSpecifier(
)
 → string
Retrieves the object specifier.