MixedInks

A collection of mixed inks.

Methods:

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

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

MixedInk [] (index:Number)

Returns the MixedInk with the specified index.

Parameter

Type

Description

index

Number

The index.

MixedInk add (inkList:Array of Varies Inks MixedInkGroup, inkPercentages:Array of Number, withProperties:Object)

Creates a new mixed ink swatch.

Parameter

Type

Description

inkList

Array of Inks

MixedInkGroup

The inks to mix. Note: Must contain at least two process inks and one spot ink. Can accept: Array of Inks or MixedInkGroup.

inkPercentages

Array of Number (range 0 - 100)

The percent to use of each ink in the ink list. (Range: 0 to 100 for each ink)

withProperties

Object

Initial values for properties of the new MixedInk (Optional)

MixedInk anyItem ()

Returns any MixedInk in the collection.

Number count ()

Displays the number of elements in the MixedInk.

MixedInk everyItem ()

Returns every MixedInk in the collection.

MixedInk firstItem ()

Returns the first MixedInk in the collection.

MixedInk item (index:Varies LongInteger String)

Returns the MixedInk with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

MixedInk itemByID (id:Number)

Returns the MixedInk with the specified ID.

Parameter

Type

Description

id

Number

The ID.

MixedInk itemByName (name:String)

Returns the MixedInk with the specified name.

Parameter

Type

Description

name

String

The name.

MixedInk itemByRange (from:Varies LongInteger MixedInk String, to:Varies LongInteger MixedInk String)

Returns the MixedInks within the specified range.

Parameter

Type

Description

from

LongInteger

MixedInk

String

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

to

LongInteger

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.

Parameter

Type

Description

obj

MixedInk

The MixedInk whose index comes before the desired MixedInk.

MixedInk previousItem (obj:MixedInk)

Returns the MixedInk with the index previous to the specified index.

Parameter

Type

Description

obj

MixedInk

The index of the MixedInk that follows the desired MixedInk.

String toSource ()

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

Object of

Application.mixedInks

Document.mixedInks