Back to Website
Show / Hide Table of Contents

Interface IPrintAreaTemplate

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

Inheritance
IModelComponent
IBasePrintAreaDefinition
IPrintAreaTemplate
Package: @aurigma/design-editor-iframe
Examples
const productDefinition = {
    surfaces: [{
        printAreas: [{
            designFile: "stamp",
            safetyLines: [{
                margin: 5,
                color: "rgba(0,0,255,1)",
                altColor: "rgba(255,255,255,0)"
            }]
        }]
    }]
);

Properties

designFile

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

Declaration
designFile: string;
Property Value
Type Description
string

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

designLocation

Coordinates of the upper-left corner of the design relative to the mockup.

Declaration
designLocation?: IPointF;
Property Value
Type Description
IPointF

Coordinates of the upper-left corner of the design relative to the mockup.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback