Adobe InDesign CS (3.0) Object Model JS: MixedInk

InDesign CS

Class

MixedInk

 A mixed ink swatch. Base Class: Swatch

QuickLinks

duplicate, extractLabel, insertLabel, merge, remove

Hierarchy

Application | Document
Swatch
MixedInk

Properties

PropertyTypeAccessDescription
baseColorMixedInkGroup readonlyThe mixed ink group that a mixed ink swatch is based on.
idnumber readonlyThe unique ID of the MixedInk.
indexnumber readonlyThe index of the MixedInk within its containing object.
inkList Array of Ink readonlyThe component inks.
inkPercentages Array of number r/wThe array of tint percentages for inks in the ink list. Note: Specify a value for each ink.
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 MixedInk.
parentApplication
Document
readonlyThe parent of the MixedInk (a Application or Document).
propertiesObject r/wA property that allows setting of several properties at the same time.
spaceColorSpace:
ColorSpace.RGB
ColorSpace.CMYK
ColorSpace.LAB
ColorSpace.MIXEDINK
r/wThe color space.

Methods

Instances

MixedInk duplicate ()
Duplicates the MixedInk.

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

Return

MixedInk MixedInk.duplicate ()

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

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