Adobe InDesign CS6 (8.0) Object Model JS: DisplaySettings

InDesign CS6

Class

DisplaySettings

 Display setting properties.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

DisplaySetting [] (index: number)
Returns the DisplaySetting with the specified index.

ParameterTypeDescription
indexnumberThe index.

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: varies)
Returns the DisplaySetting with the specified index or name.

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

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

ParameterTypeDescription
fromDisplaySetting
Long Integer
String
The DisplaySetting, index, or name at the beginning of the range. Can accept: DisplaySetting, Long Integer or String.
toDisplaySetting
Long Integer
String
The DisplaySetting, index, or name at the end of the range. Can accept: DisplaySetting, Long Integer 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, 28-Apr-2012 v3.0.3hContents :: Index