Adobe InDesign CS6 (8.0) Object Model JS: MeasurementComboboxes

InDesign CS6

Class

MeasurementComboboxes

 A collection of measurement comboboxes.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

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

ParameterTypeDescription
indexnumberThe index.

MeasurementCombobox add ([withProperties: Object])
Creates a new MeasurementCombobox.

ParameterTypeDescription
withPropertiesObjectInitial values for properties of the new MeasurementCombobox (Optional)

MeasurementCombobox anyItem ()
Returns any MeasurementCombobox in the collection.

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

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

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

MeasurementCombobox item (index: varies)
Returns the MeasurementCombobox with the specified index or name.

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

MeasurementCombobox itemByID (id: number)
Returns the MeasurementCombobox with the specified ID.

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
fromLong Integer
MeasurementCombobox
String
The MeasurementCombobox, index, or name at the beginning of the range. Can accept: MeasurementCombobox, Long Integer or String.
toLong Integer
MeasurementCombobox
String
The MeasurementCombobox, index, or name at the end of the range. Can accept: MeasurementCombobox, Long Integer or String.

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

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

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

ParameterTypeDescription
objMeasurementComboboxThe MeasurementCombobox whose index comes before the desired MeasurementCombobox.

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

ParameterTypeDescription
objMeasurementComboboxThe index of the MeasurementCombobox that follows the desired MeasurementCombobox.

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

Element of

BorderPanel.measurementComboboxes

DialogColumn.measurementComboboxes

DialogRow.measurementComboboxes

EnablingGroup.measurementComboboxes

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