Adobe InDesign CS3 (5.0) Object Model JS: MixedInkGroup

InDesign CS3

Class

MixedInkGroup

 A mixed ink group. Base Class: Swatch

QuickLinks

duplicate, extractLabel, getElements, insertLabel, merge, remove, toSource, toSpecifier

Hierarchy

Application | Document
Swatch
MixedInkGroup

Properties

PropertyTypeAccessDescription
idnumber readonlyThe unique ID of the MixedInkGroup.
indexnumber readonlyThe index of the MixedInkGroup within its containing object.
inkList Array of Ink readonlyThe component inks.
labelstring r/wA property that can be set to any string.
modelColorModel:
ColorModel.SPOT
ColorModel.PROCESS
ColorModel.REGISTRATION
ColorModel.MIXEDINKMODEL
r/wThe color model.
namestring r/wThe name of the MixedInkGroup.
parentApplication
Document
readonlyThe parent of the MixedInkGroup (a Application or Document).
propertiesObject r/wA property that allows setting of several properties at the same time.

Methods

Instances

MixedInkGroup duplicate ()
Duplicates the MixedInkGroup.

string extractLabel (key: string)
Gets the label value associated with the specified key.

ParameterTypeDescription
keystringThe key.

Array of MixedInkGroup getElements ()
Resolves the object specifier, creating an array of object references.

void insertLabel (key: string, value: string)
Sets the label to the value associated with the specified key.

ParameterTypeDescription
keystringThe key.
valuestringThe value.

Swatch merge (with: any)
Merges the specified swatches with the swatch.

ParameterTypeDescription
with Array of Swatches
String
Swatch
The swatches to merge. Can accept: Array of Swatches, Swatch or String.

void remove ([replacingWith: Swatch])
Deletes the swatch.

ParameterTypeDescription
replacingWithSwatchThe swatch to apply in place of the deleted swatch. (Optional)

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

string toSpecifier ()
Retrieves the object specifier.

Element of

MixedInk.baseColor

Used in:

array of MixedInkGroup MixedInkGroups.itemByRange (from: any, to: any)

MixedInkGroup MixedInkGroups.nextItem (obj: MixedInkGroup)

MixedInkGroup MixedInkGroups.previousItem (obj: MixedInkGroup)

MixedInk MixedInks.add (inkList: any, inkPercentages: Array of number[, withProperties: Object])

Return

MixedInkGroup MixedInkGroup.duplicate ()

Array of MixedInkGroup MixedInkGroup.getElements ()

MixedInkGroup MixedInkGroups.add (inkList: Array of Ink[, inkPercentages: Array of number][, repeatValues: Array of number][, incrementValues: Array of number][, withProperties: Object])

MixedInkGroup MixedInkGroups.anyItem ()

Array of MixedInkGroup MixedInkGroups.everyItem ()

MixedInkGroup MixedInkGroups.firstItem ()

MixedInkGroup MixedInkGroups.item (index: any)

MixedInkGroup MixedInkGroups.itemByID (id: number)

MixedInkGroup MixedInkGroups.itemByName (name: string)

Array of MixedInkGroup MixedInkGroups.itemByRange (from: any, to: any)

MixedInkGroup MixedInkGroups.lastItem ()

MixedInkGroup MixedInkGroups.middleItem ()

MixedInkGroup MixedInkGroups.nextItem (obj: MixedInkGroup)

MixedInkGroup MixedInkGroups.previousItem (obj: MixedInkGroup)

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