Back to Website
Show / Hide Table of Contents

Interface IPrintAreaDefinition

A structure used for creating an empty print area.

Inheritance
IModelComponent
IBasePrintAreaDefinition
IPrintAreaDefinition
Package: @aurigma/design-editor-iframe
Examples
// Defining the product.
let w = 720, h = 504; // in points (1 point = 1/72 inch)

let emptyProduct = {
   surfaces: [{
       width: w,
       height: h,
       printAreas: [{
           bounds: {
               x: 0, y: 0, width: w, height: h
           },
           safetyLines: [{
               margin: 8.5,
               color: 'rgba(0,255,0,1)',
               stepPx: 5,
               widthPx: 1
           }]
       }]
   }]
};

Properties

bounds

The print area bounds.

Declaration
bounds: IRectangleF;
Property Value
Type Description
IRectangleF

The print area bounds.

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