InDesign Server2025
API 20.5.0.49
Collection of MixedInk

MixedInks

A collection of mixed inks.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

→ MixedInk

Returns the MixedInk with the specified index.

index Number The index.
→ MixedInk

Creates a new mixed ink swatch.

inkList Inks[]<Ink> | MixedInkGroup[] The inks to mix. Note: Must contain at least two process inks and one spot ink. Can accept: Array of Inks or MixedInkGroup.
inkPercentages Number[] 0–100 The percent to use of each ink in the ink list. (Range: 0 to 100 for each ink)
withProperties? Object Initial values for properties of the new MixedInk
→ MixedInk

Returns any MixedInk in the collection.

→ Number

Displays the number of elements in the MixedInk.

→ MixedInk[]

Returns every MixedInk in the collection.

→ MixedInk

Returns the first MixedInk in the collection.

→ MixedInk

Returns the MixedInk with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
→ MixedInk

Returns the MixedInk with the specified ID.

id Number The ID.
→ MixedInk

Returns the MixedInk with the specified name.

name String The name.
→ MixedInk[]

Returns the MixedInks within the specified range.

from LongInteger | MixedInk | String The MixedInk, index, or name at the beginning of the range. Can accept: MixedInk, Long Integer or String.
to LongInteger | MixedInk | String The MixedInk, index, or name at the end of the range. Can accept: MixedInk, Long Integer or String.
→ MixedInk

Returns the last MixedInk in the collection.

→ MixedInk

Returns the middle MixedInk in the collection.

→ MixedInk

Returns the MixedInk whose index follows the specified MixedInk in the collection.

obj MixedInk The MixedInk whose index comes before the desired MixedInk.
→ MixedInk

Returns the MixedInk with the index previous to the specified index.

obj MixedInk The index of the MixedInk that follows the desired MixedInk.
→ String

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

Object of 2

Properties elsewhere that hold a MixedInks.