Adobe InCopy CS5 (7.0) Object Model JS: MixedInks

InCopy CS5

Class

MixedInks

 A collection of mixed inks.

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

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

ParameterTypeDescription
indexnumberThe index.

MixedInk anyItem ()
Returns any MixedInk in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

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

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

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

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

ParameterTypeDescription
objMixedInkThe MixedInk whose index comes before the desired MixedInk.

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

ParameterTypeDescription
objMixedInkThe index of the MixedInk that follows the desired MixedInk.

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

Element of

Application.mixedInks

Document.mixedInks

Jongware, 23-Mar-2011 v3.0.3dContents :: Index