---
title: "ISnapLinesConfig Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.isnaplinesconfig.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/).

# ISnapLinesConfig Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A structure containing the configuration of snap lines.
  
For details, see the [Markings](https://customerscanvas.com/docs/cc6/configuring-rulers-and-grids.htm.md) topic.
 
 - example
     - ```
configuration = {
    canvas: {
        snapLines: {
            items: {
                enabled: true,
                color: "rgb(255,0,0)",
                tolerance: 5,
                priority: 2,
                initialValue: false
            }
        }
    }
};
```
 
## Properties
 
### items
 
items: [ISnapElementConfiguration](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.isnapelementconfiguration.htm.md)

The configuration of snap lines that clings to design elements.
 
### printArea
 
printArea: [ISnapElementConfiguration](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.isnapelementconfiguration.htm.md)

The configuration of snap lines that clings to the product page.
 
### safetyLines
 
safetyLines: [ISnapElementConfiguration](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.isnapelementconfiguration.htm.md)

The configuration of snap lines that clings to safety lines.
