InDesign2026
API 21.5.1.73
Object

JPEGExportPreference

JPEG export preferences.

Preference JPEGExportPreference
Hierarchy

Application

JPEGExportPreference

Properties

NameType AccessDescription
Boolean read/write If true, use anti-aliasing for text and vectors during export.
Boolean read/write True to embed the color profile, false otherwise.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Number 1–2400 read/write The export resolution expressed as a real number instead of an integer. (Range: 1.0 to 2400.0)
Boolean read/write If true, export hidden spreads. If false, skip export of hidden spreads.
Boolean read/write 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.
Boolean readonly Returns true if the object specifier resolves to valid objects.
JpegColorSpaceEnum
read/write One of RGB, CMYK or Gray
ExportRangeOrAllPages
read/write The page range to export.
JPEGOptionsQuality
read/write The compression quality.
JPEGOptionsFormat
read/write The rendering style.
String read/write Suffix to be used at the end of each exported file.
String read/write 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.
Application readonly The parent of the JPEGExportPreference (a Application).
Object read/write A property that allows setting of several properties at the same time.
Boolean read/write If true, simulates the effects of overprinting spot and process colors in the same way they would occur when printing.
Boolean read/write If true, uses the document's bleed settings in the exported JPEG.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
JPEGExportPreference[]

Resolves the object specifier, creating an array of object references.

Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

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

String

Retrieves the object specifier.

Object of 4

Properties elsewhere that hold a JPEGExportPreference.

Return 1

Methods that return a JPEGExportPreference.