Adobe InDesign CS6 (8.0) Object Model JS: JPEGExportPreference

InDesign CS6

Class

JPEGExportPreference

 JPEG export preferences. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application
Preference
JPEGExportPreference
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
antiAliasbool r/wIf true, use anti-aliasing for text and vectors during export.
embedColorProfilebool r/wTrue to embed the color profile, false otherwise.
eventListenersEventListeners readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
exportResolutionnumber (range: 1 - 2400) r/wThe export resolution expressed as a real number instead of an integer. (Range: 1.0 to 2400.0)
exportingSpreadbool r/wIf 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.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
jpegColorSpaceJpegColorSpaceEnum:
JpegColorSpaceEnum.RGB
JpegColorSpaceEnum.CMYK
JpegColorSpaceEnum.GRAY
r/wOne of RGB, CMYK or Gray
jpegExportRangeExportRangeOrAllPages:
ExportRangeOrAllPages.EXPORT_RANGE
ExportRangeOrAllPages.EXPORT_ALL
r/wThe page range to export.
jpegQualityJPEGOptionsQuality:
JPEGOptionsQuality.LOW
JPEGOptionsQuality.MEDIUM
JPEGOptionsQuality.HIGH
JPEGOptionsQuality.MAXIMUM
r/wThe compression quality.
jpegRenderingStyleJPEGOptionsFormat:
JPEGOptionsFormat.BASELINE_ENCODING
JPEGOptionsFormat.PROGRESSIVE_ENCODING
r/wThe rendering style.
pageStringstring r/wThe page(s) to export, specified as a page number or an array of page numbers. Note: Valid when JPEG export range is not all.
parentApplication readonlyThe parent of the JPEGExportPreference (a Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
simulateOverprintbool r/wIf true, simulates the effects of overprinting spot and process colors in the same way they would occur when printing.
useDocumentBleedsbool r/wIf true, uses the document's bleed settings in the exported JPEG.

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

Array of JPEGExportPreference getElements ()
Resolves the object specifier, creating an array of object references.

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

string toSource ()
Generates a string which, if executed, will return the JPEGExportPreference.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.jpegExportPreferences

Return

Array of JPEGExportPreference JPEGExportPreference.getElements ()

Jongware, 28-Apr-2012 v3.0.3hContents :: Index