Skip to content

InkInfo

app.activeDocument.inkList[index].inkInfo

Ink information for printing a document.


app.activeDocument.inkList[index].inkInfo.angle

The ink’s screen angle in degrees.

Range: -360 to 360.

Number (double).


app.activeDocument.inkList[index].inkInfo.customColor

The color of the custom ink.

Color


app.activeDocument.inkList[index].inkInfo.density

The neutral density. Minimum: 0.0.

Number (double).


app.activeDocument.inkList[index].inkInfo.dotShape

The dot shape name.

String.


app.activeDocument.inkList[index].inkInfo.frequency

The ink’s frequency.

Range: 0.0 to 1000.0.

Number (double).


app.activeDocument.inkList[index].inkInfo.kind

The ink type.

InkType


app.activeDocument.inkList[index].inkInfo.printingStatus

The ink printing status.

InkPrintStatus


app.activeDocument.inkList[index].inkInfo.trapping

The trapping type.

TrappingType


app.activeDocument.inkList[index].inkInfo.trappingOrder

The order of trapping for the ink.

Range: 1 to 4 for CMYK.

Number (long).


app.activeDocument.inkList[index].inkInfo.typename

The class name of the object.

String; read-only.


// Displays the current documents inks in a text frame
var docRef = documents.add();
// assemble a string of the inks in this document
var sInks = "";
var iLength = activeDocument.inkList.length;
for (var i = 0; i < iLength; i++) {
sInks += docRef.inkList[i].name;
sInks += "\r\t";
sInks += "Frequency = " + docRef.inkList[i].inkInfo.frequency;
sInks += "\r\t";
sInks += "Density = " + docRef.inkList[i].inkInfo.density;
sInks += "\r";
}
var textRef = docRef.textFrames.add();
textRef.contents = sInks;
textRef.top = 600;
textRef.left = 200;
redraw();