Class
Export for web preferences. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
ExportForWebPreference
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
copyFormattedImages | bool | r/w | If true, copies formatted images to the images subfolder. |
copyOptimizedImages | bool | r/w | If true, copies optimized images to the images subfolder. |
copyOriginalImages | bool | r/w | If true, copies original images to the images subfolder. |
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
gifOptionsInterlaced | bool | r/w | If true, generates interlaced GIFs. Note: Not valid when image conversion is JPEG. |
gifOptionsPalette | GIFOptionsPalette: GIFOptionsPalette.ADAPTIVE_PALETTE GIFOptionsPalette.MACINTOSH_PALETTE GIFOptionsPalette.WEB_PALETTE GIFOptionsPalette.WINDOWS_PALETTE |
r/w | The color palette for GIF conversion. Note: Not valid when image conversion is JPEG. |
imageConversion | ImageConversion: ImageConversion.AUTOMATIC ImageConversion.JPEG ImageConversion.GIF ImageConversion.PNG |
r/w | The file format to use for converted images. Note: Valid only when copy optimized images and/or copy formatted images is true. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
jpegOptionsFormat | JPEGOptionsFormat: JPEGOptionsFormat.BASELINE_ENCODING JPEGOptionsFormat.PROGRESSIVE_ENCODING |
r/w | The formatting method for converted JPEG images. Note: Not valid when image conversion is GIF. |
jpegOptionsQuality | JPEGOptionsQuality: JPEGOptionsQuality.LOW JPEGOptionsQuality.MEDIUM JPEGOptionsQuality.HIGH JPEGOptionsQuality.MAXIMUM |
r/w | The quality of converted JPEG images. Note: Not valid when image conversion is GIF. |
parent | Application Document |
readonly | The parent of the ExportForWebPreference (a Application or Document). |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
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 ExportForWebPreference 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 ExportForWebPreference.
Element of
Application.exportForWebPreferences
Document.exportForWebPreferences
Return
Array of ExportForWebPreference ExportForWebPreference.getElements ()
Jongware, 29-Apr-2012 v3.0.3i | Contents :: Index |