InDesign Server2025
API 20.5.0.49
Object

MixedInk

A mixed ink swatch.

Swatch ›MixedInk
Hierarchy

Application | Document

MixedInk

Properties

NameType AccessDescription
MixedInkGroup readonly The mixed ink group that a mixed ink swatch is based on.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Number readonly The unique ID of the MixedInk.
Number readonly The index of the MixedInk within its containing object.
Ink[] readonly The component inks.
Number[] read/write The array of tint percentages for inks in the ink list. Note: Specify a value for each ink.
Boolean readonly Returns true if the object specifier resolves to valid objects.
String read/write A property that can be set to any string.
ColorModel
read/write The color model.
String read/write The name of the MixedInk.
Application | Document readonly The parent of the MixedInk (a Application or Document).
ColorGroup readonly The color group that a swatch belongs to
Object read/write A property that allows setting of several properties at the same time.
ColorSpace
read/write The color space.

Methods

→ EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
→ MixedInk

Duplicates the MixedInk.

→ String

Gets the label value associated with the specified key.

key String The key.
→ MixedInk[]

Resolves the object specifier, creating an array of object references.

→ void

Sets the label to the value associated with the specified key.

key String The key.
value String The value.
→ Swatch

Merges the specified swatches with the swatch.

with Swatches[]<Swatch> | Swatch[] | String[] The swatches to merge. Can accept: Array of Swatches, Swatch or String.
→ void

Deletes the swatch.

replacingWith? Swatch The swatch to apply in place of the deleted swatch.
→ Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
→ String

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

→ String

Retrieves the object specifier.

Object of 4

Properties elsewhere that hold a MixedInk.

Parameter of 3

Method parameters that accept a MixedInk.

Return 15

Methods that return a MixedInk.