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

# Interface: ISnapLinesConfig

> A structure containing the configuration of snap lines.

## Remarks

For details, see the [Snap lines](https://customerscanvas.com/dev/editors/iframe-api/editor-configuration/rulers-grids-snaplines.html) topic.

## Example

``` js
configuration = {
   canvas: {
       snapLines: {
           items: {
               enabled: true,
               color: "rgb(255,0,0)",
               tolerance: 5,
               priority: 2
           }
       }
   }
};
```

## Properties

### items

> **items**: [`ISnapElementConfiguration`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ConfigurationInterfaces.ISnapElementConfiguration.md)

The configuration of snap lines that clings to design elements.

***

### printArea

> **printArea**: [`ISnapElementConfiguration`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ConfigurationInterfaces.ISnapElementConfiguration.md)

The configuration of snap lines that clings to the product page.

***

### safetyLines

> **safetyLines**: [`ISnapElementConfiguration`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ConfigurationInterfaces.ISnapElementConfiguration.md)

The configuration of snap lines that clings to safety lines.

***

### interactiveZones

> **interactiveZones**: [`ISnapElementConfiguration`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ConfigurationInterfaces.ISnapElementConfiguration.md)
