Adobe InCopy CS6 (8.0) Object Model JS: PrintFormBehaviors

InCopy CS6

Class

PrintFormBehaviors

 A collection of print form behavior objects.

See also PrintFormBehavior.

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

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

ParameterTypeDescription
indexnumberThe index.

PrintFormBehavior anyItem ()
Returns any PrintFormBehavior in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

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

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

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

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

ParameterTypeDescription
objPrintFormBehaviorThe PrintFormBehavior whose index comes before the desired PrintFormBehavior.

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

ParameterTypeDescription
objPrintFormBehaviorThe index of the PrintFormBehavior that follows the desired PrintFormBehavior.

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

Element of

Button.printFormBehaviors

CheckBox.printFormBehaviors

ComboBox.printFormBehaviors

ListBox.printFormBehaviors

RadioButton.printFormBehaviors

SignatureField.printFormBehaviors

TextBox.printFormBehaviors

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