Adobe InDesign CS (3.0) Object Model JS: MixedInkGroup

InDesign CS

Class

MixedInkGroup

 A mixed ink group. Base Class: Swatch

QuickLinks

duplicate, extractLabel, insertLabel, merge, remove

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.

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

ParameterTypeDescription
keystringThe key.
valuestringThe value.

void merge (with: any)
Merge one or more other swatches into this one.

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

void remove (replacingWith: Swatch)
Delete swatch.

ParameterTypeDescription
replacingWithSwatchThe swatch to apply in place of this one

Element of

MixedInk.baseColor

Used in:

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

Return

MixedInkGroup MixedInkGroup.duplicate ()

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

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