Adobe InDesign CS6 (8.0) Object Model JS: DisplaySetting

InDesign CS6

Class

DisplaySetting

 Object-level display settings.

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application
DisplaySetting
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
antialiasingbool r/wIf true, uses anti-aliasing for text and bitmap images.
eventListenersEventListeners readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
greekBelownumber r/wThe point size below which text is greeked.
indexnumber readonlyThe index of the DisplaySetting within its containing object.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentApplication readonlyThe parent of the DisplaySetting (a Application).
propertiesObject r/wA property that allows setting of several properties at the same time.
rasterTagRaster:
TagRaster.GRAY_OUT
TagRaster.PROXY
TagRaster.HIGH_RESOLUTION
TagRaster.DEFAULT_VALUE
r/wThe display method for raster images.
transparencyTagTransparency:
TagTransparency.OFF
TagTransparency.LOW_QUALITY
TagTransparency.MEDIUM_QUALITY
TagTransparency.HIGH_QUALITY
TagTransparency.DEFAULT_VALUE
r/wThe display setting for transparencies.
vectorTagVector:
TagVector.GRAY_OUT
TagVector.PROXY
TagVector.HIGH_RESOLUTION
TagVector.DEFAULT_VALUE
r/wThe display method for vector images.

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

string toSpecifier ()
Retrieves the object specifier.

Used in:

DisplaySetting DisplaySettings.nextItem (obj: DisplaySetting)

DisplaySetting DisplaySettings.previousItem (obj: DisplaySetting)

Return

Array of DisplaySetting DisplaySetting.getElements ()

DisplaySetting DisplaySettings.[] (index: number)

DisplaySetting DisplaySettings.anyItem ()

Array of DisplaySetting DisplaySettings.everyItem ()

DisplaySetting DisplaySettings.firstItem ()

DisplaySetting DisplaySettings.item (index: varies)

Array of DisplaySetting DisplaySettings.itemByRange (from: varies, to: varies)

DisplaySetting DisplaySettings.lastItem ()

DisplaySetting DisplaySettings.middleItem ()

DisplaySetting DisplaySettings.nextItem (obj: DisplaySetting)

DisplaySetting DisplaySettings.previousItem (obj: DisplaySetting)

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