Class
JPEG export preferences. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
JPEGExportPreference
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
antiAlias | bool | r/w | If true, use anti-aliasing for text and vectors during export. |
embedColorProfile | bool | r/w | True to embed the color profile, false otherwise. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
exportResolution | number (range: 1 - 2400) | r/w | The export resolution expressed as a real number instead of an integer. (Range: 1.0 to 2400.0) |
exportingSpread | bool | r/w | 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. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
jpegColorSpace | JpegColorSpaceEnum: JpegColorSpaceEnum.RGB JpegColorSpaceEnum.CMYK JpegColorSpaceEnum.GRAY |
r/w | One of RGB, CMYK or Gray |
jpegExportRange | ExportRangeOrAllPages: ExportRangeOrAllPages.EXPORT_RANGE ExportRangeOrAllPages.EXPORT_ALL |
r/w | The page range to export. |
jpegQuality | JPEGOptionsQuality: JPEGOptionsQuality.LOW JPEGOptionsQuality.MEDIUM JPEGOptionsQuality.HIGH JPEGOptionsQuality.MAXIMUM |
r/w | The compression quality. |
jpegRenderingStyle | JPEGOptionsFormat: JPEGOptionsFormat.BASELINE_ENCODING JPEGOptionsFormat.PROGRESSIVE_ENCODING |
r/w | The rendering style. |
pageString | string | r/w | 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. |
parent | Application | readonly | The parent of the JPEGExportPreference (a Application). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
simulateOverprint | bool | r/w | If true, simulates the effects of overprinting spot and process colors in the same way they would occur when printing. |
useDocumentBleeds | bool | r/w | If 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.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This 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.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This 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, 20-Jun-2010 v3.0.3d | Contents :: Index |