InDesign2026
API 21.5.1.73
Object

PublishExportPreference

Publish export preferences.

Preference PublishExportPreference
Hierarchy

Document

PublishExportPreference

Properties

NameType AccessDescription
String read/write The epub cover image file path.
String read/write The cover page.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
GIFOptionsPalette
read/write The color palette for GIF conversion. Note: Not valid when image conversion is JPEG.
ImageConversion
read/write The file format to use for converted images. Note: Valid only when copy optimized images and/or copy formatted images is true.
ImageResolution
read/write The export resolution
Boolean readonly Returns true if the object specifier resolves to valid objects.
JPEGOptionsQuality
read/write The quality of converted JPEG images. Note: Not valid when image conversion is GIF.
Document readonly The parent of the PublishExportPreference (a Document).
Object read/write A property that allows setting of several properties at the same time.
PublishCoverEnum
read/write The publish cover option.
String read/write The publish description.
String read/write The file name.
PublishFormatEnum
read/write the publish format.
String read/write The publish page range.
PageRangeFormat
read/write The publish page range format.
Boolean read/write If PDF should be uploaded while publishing.

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.
PublishExportPreference[]

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 PublishExportPreference.

String

Retrieves the object specifier.

Object of 4

Properties elsewhere that hold a PublishExportPreference.

Return 1

Methods that return a PublishExportPreference.