InkInfo
InkInfo
Section titled “InkInfo”app.activeDocument.inkList[index].inkInfo
Description
Section titled “Description”Ink information for printing a document.
Properties
Section titled “Properties”InkInfo.angle
Section titled “InkInfo.angle”app.activeDocument.inkList[index].inkInfo.angle
Description
Section titled “Description”The ink’s screen angle in degrees.
Range: -360 to 360.
Number (double).
InkInfo.customColor
Section titled “InkInfo.customColor”app.activeDocument.inkList[index].inkInfo.customColor
Description
Section titled “Description”The color of the custom ink.
InkInfo.density
Section titled “InkInfo.density”app.activeDocument.inkList[index].inkInfo.density
Description
Section titled “Description”The neutral density. Minimum: 0.0.
Number (double).
InkInfo.dotShape
Section titled “InkInfo.dotShape”app.activeDocument.inkList[index].inkInfo.dotShape
Description
Section titled “Description”The dot shape name.
String.
InkInfo.frequency
Section titled “InkInfo.frequency”app.activeDocument.inkList[index].inkInfo.frequency
Description
Section titled “Description”The ink’s frequency.
Range: 0.0 to 1000.0.
Number (double).
InkInfo.kind
Section titled “InkInfo.kind”app.activeDocument.inkList[index].inkInfo.kind
Description
Section titled “Description”The ink type.
InkInfo.printingStatus
Section titled “InkInfo.printingStatus”app.activeDocument.inkList[index].inkInfo.printingStatus
Description
Section titled “Description”The ink printing status.
InkInfo.trapping
Section titled “InkInfo.trapping”app.activeDocument.inkList[index].inkInfo.trapping
Description
Section titled “Description”The trapping type.
InkInfo.trappingOrder
Section titled “InkInfo.trappingOrder”app.activeDocument.inkList[index].inkInfo.trappingOrder
Description
Section titled “Description”The order of trapping for the ink.
Range: 1 to 4 for CMYK.
Number (long).
InkInfo.typename
Section titled “InkInfo.typename”app.activeDocument.inkList[index].inkInfo.typename
Description
Section titled “Description”The class name of the object.
String; read-only.
Example
Section titled “Example”Getting ink information
Section titled “Getting ink information”// Displays the current documents inks in a text frame
var docRef = documents.add();
// assemble a string of the inks in this documentvar 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();