Adobe InDesign CS2 (4.0) Object Model JS: DisplaySettings

InDesign CS2

Class

DisplaySettings

 Display setting properties.

QuickLinks

anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

DisplaySetting anyItem ()
Returns any DisplaySetting in the collection.

number count ()
Displays the number of elements in the DisplaySetting.

Array of DisplaySetting everyItem ()
Returns every DisplaySetting in the collection.

DisplaySetting firstItem ()
Returns the first DisplaySetting in the collection.

DisplaySetting item (index: any)
Returns the DisplaySetting with the specified index or name.

ParameterTypeDescription
indexLong
String
The index or name. Can accept: Long or String.

DisplaySetting itemByName (name: string)
Returns the DisplaySetting with the specified name.

ParameterTypeDescription
namestringThe name.

Array of DisplaySetting itemByRange (from: any, to: any)
Returns the DisplaySettings within the specified range.

ParameterTypeDescription
fromDisplaySetting
Long
String
The DisplaySetting, index, or name at the beginning of the range. Can accept: DisplaySetting, Long or String.
toDisplaySetting
Long
String
The DisplaySetting, index, or name at the end of the range. Can accept: DisplaySetting, Long or String.

DisplaySetting lastItem ()
Returns the last DisplaySetting in the collection.

DisplaySetting middleItem ()
Returns the middle DisplaySetting in the collection.

DisplaySetting nextItem (obj: DisplaySetting)
Returns the DisplaySetting whose index follows the specified DisplaySetting in the collection.

ParameterTypeDescription
objDisplaySettingThe DisplaySetting whose index comes before the desired DisplaySetting.

DisplaySetting previousItem (obj: DisplaySetting)
Returns the DisplaySetting with the index previous to the specified index.

ParameterTypeDescription
objDisplaySettingThe index of the DisplaySetting that follows the desired DisplaySetting.

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

Element of

Application.displaySettings

Jongware, 27-Jun-2010 v3.0.3dContents :: Index