Adobe InDesign CS5.5 (7.5) Object Model JS: DisplayPerformancePreference

InDesign CS5.5

Class

DisplayPerformancePreference

 Default display performance settings for the application. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application
Preference
DisplayPerformancePreference
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
defaultDisplaySettingsViewDisplaySettings:
ViewDisplaySettings.HIGH_QUALITY
ViewDisplaySettings.TYPICAL
ViewDisplaySettings.OPTIMIZED
r/wObject-level default display performance settings. Note: The settings do not apply to graphics that are already placed in the document.
eventListenersEventListeners EventListener readonlyA collection of event listeners.
eventsEvents Event readonlyA collection of events.
ignoreLocalSettingsbool r/wIf true, ignores object-level default display performance settings and uses the application-level default display settings; also prevents setting object-level settings.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentApplication readonlyThe parent of the DisplayPerformancePreference (a Application).
persistLocalSettingsbool r/wIf true, sets application-level preferences to preserve object-level display settings.
propertiesObject r/wA 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.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

Array of DisplayPerformancePreference getElements ()
Resolves the object specifier, creating an array of object references.

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

string toSource ()
Generates a string which, if executed, will return the DisplayPerformancePreference.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.displayPerformancePreferences

Return

Array of DisplayPerformancePreference DisplayPerformancePreference.getElements ()

Jongware, 28-Apr-2012 v3.0.3iContents :: Index