---
title: "IPrintAreaDefinition Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.iprintareadefinition.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IPrintAreaDefinition Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A structure used for creating an empty print area.
  
 - example
     - ```
// Defining the product.
var w = 720, h = 504; // in points (1 point = 1/72 inch)

var 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
 
### Optional bleed
 
bleed: [IMarginLTRB](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.imarginltrb.htm.md)

Inherited from [IBasePrintAreaDefinition](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ibaseprintareadefinition.htm.md).[bleed](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ibaseprintareadefinition.htm.md)

Margins of the bleed area.
 
### bounds
 
bounds: [IRectangleF](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.irectanglef.htm.md)

The print area bounds.
 
### Optional containers
 
containers: [IChannelContainerDefinition](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ichannelcontainerdefinition.htm.md) []

Inherited from [IBasePrintAreaDefinition](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ibaseprintareadefinition.htm.md).[containers](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ibaseprintareadefinition.htm.md)

A collection of texture and spot color containers defined in the print area.
 
### Optional cropMarks
 
cropMarks: [ICropMark](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.icropmark.htm.md) []

Inherited from [IBasePrintAreaDefinition](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ibaseprintareadefinition.htm.md).[cropMarks](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ibaseprintareadefinition.htm.md)

A collection of crop marks defined in the print area.
 
### Optional hiResOutput
 
hiResOutput: [IHiResOutput](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ihiresoutput.htm.md)

Inherited from [IBasePrintAreaDefinition](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ibaseprintareadefinition.htm.md).[hiResOutput](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ibaseprintareadefinition.htm.md)

Properties of the hi-res output defined in the print area.
 
### Optional name
 
name: string

Inherited from [IModelComponent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.imodelcomponent.htm.md).[name](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.imodelcomponent.htm.md)

A name of a surface (a page) in the product.
 
### Optional safetyLines
 
safetyLines: [ISafetyLine](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.isafetyline.htm.md) []

Inherited from [IBasePrintAreaDefinition](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ibaseprintareadefinition.htm.md).[safetyLines](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ibaseprintareadefinition.htm.md)

A collection of safety lines defined in the print area.
 
### Optional slug
 
slug: [IMarginLTRB](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.imarginltrb.htm.md)

Inherited from [IBasePrintAreaDefinition](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ibaseprintareadefinition.htm.md).[slug](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.ibaseprintareadefinition.htm.md)

Margins of the slug area. The editor expands the product boundaries to accommodate the slug area.
