This is an old documentation. Go to the latest Customer's Canvas docs

IPrintAreaTemplate Interface

A structure creating a print area based on a PSD/IDML template.

        surfaces: [{
            printAreas: [{
                designFile: "stamp",
                safetyLines: [{
                    margin: 5,
                    color: "rgba(0,0,255,1)",
                    altColor: "rgba(255,255,255,0)"


Optional bleed

bleed: IMarginLTRB

Margins of the bleed area.

Optional containers

A collection of texture and spot color containers defined in the print area.

Optional cropMarks

cropMarks: ICropMark []

A collection of crop marks defined in the print area.


designFile: string

The name of either PSD or IDML file, without extension.

Optional designLocation

designLocation: IPointF

Coordinates of the upper-left corner of the design relative to the mockup. For details, refer to the Mockups topic.

Optional hiResOutput

hiResOutput: IHiResOutput

Properties of the hi-res output defined in the print area.

Optional name

name: string

A name of a surface (a page) in the product.

Optional safetyLines

safetyLines: ISafetyLine []

A collection of safety lines defined in the print area.

Optional slug

Margins of the slug area. The editor expands the product boundaries to accommodate the slug area.