Adobe InDesign CS5 (7.0) Object Model JS: MeasurementEditboxes

InDesign CS5

Class

MeasurementEditboxes

 A collection of measurement editboxes.

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

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

ParameterTypeDescription
indexnumberThe index.

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

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

MeasurementEditbox anyItem ()
Returns any MeasurementEditbox in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

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

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

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

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

ParameterTypeDescription
objMeasurementEditboxThe MeasurementEditbox whose index comes before the desired MeasurementEditbox.

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

ParameterTypeDescription
objMeasurementEditboxThe index of the MeasurementEditbox that follows the desired MeasurementEditbox.

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

Element of

BorderPanel.measurementEditboxes

DialogColumn.measurementEditboxes

DialogRow.measurementEditboxes

EnablingGroup.measurementEditboxes

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