---
title: "Interface: ICropMark | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ObjectModel.ICropMark/"
---

# Interface: ICropMark

> A structure holding settings for a crop mark.

## Remarks

For details, see the [Cropping marks](https://customerscanvas.com/dev/editors/iframe-api/rendering/cropping-marks.html) topic.

## Example

``` js
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

### name?

> `optional` **name?**: `string`

The name of the crop mark.

***

### margin?

> `optional` **margin?**: `number` \| [`IMarginHV`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ObjectModel.IMarginHV.md)

The distance between a crop mark and the surface bounds, in points. The default value is `10`.

***

### color?

> `optional` **color?**: `string`

The color of crop marks, in the CSS color format. The default value is black, <code>"rgba(0,0,0,1)"</code>.

***

### widthPx?

> `optional` **widthPx?**: `number`

The line width, in pixels. The default value is `1`.

***

### length?

> `optional` **length?**: `number` \| [`IMarginHV`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ObjectModel.IMarginHV.md)

The length of the crop mark, in points. The default value is `8`.

***

### texts?

> `optional` **texts?**: [`ICropMarkText`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ObjectModel.ICropMarkText.md)[]

The page information.
