---
title: "ISnapLinesConfig Interface"
canonical: https://customerscanvas.com/docs/cc5/customerscanvas.iframeapi.configuration.isnaplinesconfig.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["5.35.9", "5.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 5.35.9, 5.x (may differ) · **Archived documentation**
 
A structure containing the configuration of snap lines.
  
 - example
     - ```
configuration = {
    canvas: {
        snapLines: {
            enabled: false
        }
    }
};
```
 
## Properties
 
### Optional color
 
color: string

*Deprecated, use the [advanced configuration](https://customerscanvas.com/docs/cc5/customerscanvas.iframeapi.configuration.isnapelementconfiguration.htm.md).* Snap line color. The default value is `"rgb(255,0,255)"`.
 
### Optional enabled
 
enabled: boolean

*Deprecated, use the [advanced configuration](https://customerscanvas.com/docs/cc5/customerscanvas.iframeapi.configuration.isnapelementconfiguration.htm.md).* Displays snap lines. The default is `true`.
 
### items
 
items: [ISnapElementConfiguration](https://customerscanvas.com/docs/cc5/customerscanvas.iframeapi.configuration.isnapelementconfiguration.htm.md)

The configuration of snap lines that clings to design elements.
 
### printArea
 
printArea: [ISnapElementConfiguration](https://customerscanvas.com/docs/cc5/customerscanvas.iframeapi.configuration.isnapelementconfiguration.htm.md)

The configuration of snap lines that clings to the product page.
 
### safetyLines
 
safetyLines: [ISnapElementConfiguration](https://customerscanvas.com/docs/cc5/customerscanvas.iframeapi.configuration.isnapelementconfiguration.htm.md)

The configuration of snap lines that clings to safety lines.
 
### Optional tolerance
 
tolerance: number

*Deprecated, use the [advanced configuration](https://customerscanvas.com/docs/cc5/customerscanvas.iframeapi.configuration.isnapelementconfiguration.htm.md).* The distance between an object and a snap line where the object clings to the line. It is measured in pixels. The default value is `5`.
