InDesign Server2025
API 20.5.0.49
Object

ExportForWebPreference

Export for web preferences.

Preference ExportForWebPreference
Hierarchy

Application | Document

ExportForWebPreference

Properties

NameType AccessDescription
Boolean read/write If true, copies formatted images to the images subfolder.
Boolean read/write If true, copies optimized images to the images subfolder.
Boolean read/write If true, copies original images to the images subfolder.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Boolean read/write If true, generates interlaced GIFs. Note: Not valid when image conversion is JPEG.
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.
Boolean readonly Returns true if the object specifier resolves to valid objects.
JPEGOptionsFormat
read/write The formatting method for converted JPEG images. Note: Not valid when image conversion is GIF.
JPEGOptionsQuality
read/write The quality of converted JPEG images. Note: Not valid when image conversion is GIF.
Application | Document readonly The parent of the ExportForWebPreference (a Application or Document).
Object read/write A property that allows setting of several properties at the same time.

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

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

String

Retrieves the object specifier.

Object of 5

Properties elsewhere that hold a ExportForWebPreference.

Return 1

Methods that return a ExportForWebPreference.