Skip to main content

Interface: ICropMarkText

A structure holding settings for page information on hi-res outputs.

Remarks​

For details, see the Cropping marks topic.

Example​

const product = {
surfaces: [{
printAreas: [{
designFile: "envelope",
designLocation: { X: 4.1, Y: 4.1 },
cropMarks: `[{
margin: 8.5,
color: "cmyk(0, 1, 1, 0, 1)",
widthPx: 1,
length: 6,
fontSize: 4,
leftNotes: [{
text: "Page information"
}]`
}]
}]
}
]

Properties​

alignment?​

optional alignment?: CropMarkTextAlignment

The page information alignment. The default value is "Left".


fontSize?​

optional fontSize?: number

The font size of the text. The default value is 3.


text​

text: string

The page information to be placed on the hi-res output.

Was this page helpful?