Adobe InDesign CS (3.0) Object Model JS: Ink

InDesign CS

Class

Ink

 An ink.

QuickLinks

extractLabel, insertLabel

Hierarchy

Application | Document
Ink

Properties

PropertyTypeAccessDescription
aliasInkNamestring r/wThe ink object to map this ink to.
anglenumber r/wThe ink's angle. (Range: 0 to 360)
convertToProcessbool r/wConverts spot inks to process inks.
frequencynumber r/wThe frequency of the ink.
idnumber readonlyThe unique ID of the Ink.
indexnumber readonlyThe index of the Ink within its containing object.
inkTypeInkTypes:
InkTypes.NORMAL
InkTypes.OPAQUE
InkTypes.TRANSPARENT
InkTypes.OPAQUE_IGNORE
r/wThe trapping type of the ink.
isProcessInkbool readonlyIf true, the ink is a process ink.
labelstring r/wA property that can be set to any string.
namestring readonlyThe name of the Ink.
neutralDensitynumber r/wThe neutral density.
parentApplication
Document
readonlyThe parent of the Ink (a Application or Document).
printInkbool r/wIf true, prints the ink. Only valid when printing separations.
propertiesObject r/wA property that allows setting of several properties at the same time.
soliditynumber readonlyThe solidity value of the ink
trapOrdernumber r/wThe place of the ink in the trapping sequence.

Methods

Instances

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.

Element of

MixedInk.inkList

MixedInkGroup.inkList

Used in:

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