Adobe InCopy CS6 (8.0) Object Model JS: ViewZoomBehaviors

InCopy CS6

Class

ViewZoomBehaviors

 A collection of view zoom behavior objects.

See also ViewZoomBehavior.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

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

ParameterTypeDescription
indexnumberThe index.

ViewZoomBehavior anyItem ()
Returns any ViewZoomBehavior in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

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

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

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

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

ParameterTypeDescription
objViewZoomBehaviorThe ViewZoomBehavior whose index comes before the desired ViewZoomBehavior.

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

ParameterTypeDescription
objViewZoomBehaviorThe index of the ViewZoomBehavior that follows the desired ViewZoomBehavior.

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

Element of

Button.viewZoomBehaviors

CheckBox.viewZoomBehaviors

ComboBox.viewZoomBehaviors

ListBox.viewZoomBehaviors

RadioButton.viewZoomBehaviors

SignatureField.viewZoomBehaviors

TextBox.viewZoomBehaviors

Jongware, 29-Apr-2012 v3.0.3iContents :: Index