InDesign Server2025
API 20.5.0.49
Object

Ink

An ink.

Hierarchy

Application | Document

Ink

Properties

NameType AccessDescription
String read/write The ink object to map this ink to.
Number 0–360 read/write The angle of the ink. (Range: 0 to 360)
Boolean read/write Converts spot inks to process inks.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Number 1–500 read/write The frequency of the ink. (Range: 1 to 500)
Number readonly The unique ID of the Ink.
Number readonly The index of the Ink within its containing object.
InkTypes
read/write The trapping type of the ink.
Boolean readonly If true, the ink is a process 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.
String readonly The name of the Ink.
Number 0.001–10 read/write The neutral density of the ink. (Range: 0.001 to 10.0)
Application | Document readonly The parent of the Ink (a Application or Document).
Boolean read/write If true, prints the ink. Only valid when printing separations.
Object read/write A property that allows setting of several properties at the same time.
Number 0–1 readonly The solidity value of the ink. (Range: 0.0 to 1.0)
Number read/write The place of the ink in the trapping sequence.

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.
→ String

Gets the label value associated with the specified key.

key String The key.
→ Ink[]

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.
→ 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 Ink.

→ String

Retrieves the object specifier.

Object of 5

Properties elsewhere that hold a Ink.

Parameter of 4

Method parameters that accept a Ink.

Return 13

Methods that return a Ink.