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

# Interface: IViolationWarningsSettingsConfig

> A structure containing the configuration of preflight warnings.

## Remarks

For details, see the [Warnings https://customerscanvas.com/dev/editors/iframe-api/editor-configuration/warnings.html\|Warnings](https://customerscanvas.com/dev/editors/iframe-api/editor-configuration/warnings.html) topic.

## Example

``` json
{
   "violationWarningsSettings": {
       "qualityMeter": {
           "enabled": true,
           "qualityLevels": {
               "warning": "99",
               "bad": "50"
           }
       },
       "regionViolationWarningEnabled": true,
       "tolerance": 0.01,
       "safetyLines": {
           "enabled": true,
           "mode": "InsideAll"
       }
   }
}
```

## Properties

### qualityMeter?

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

Enables a warning displayed if a selected image has a resolution that is too low.

***

### safetyLines?

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

Enables a warning displayed if an item crosses a safety line.

***

### ~~safetyLineViolationWarningEnabled?~~

> `optional` **safetyLineViolationWarningEnabled?**: `boolean`

Enables a warning displayed if an item crosses a safety line. The default value is `true`.

#### Deprecated

Use [IViolationWarningsSettingsConfig.safetyLines](#safetylines) instead.

***

### bleedViolationWarningEnabled?

> `optional` **bleedViolationWarningEnabled?**: `boolean`

Enables a warning displayed if an item enters the bleed zone.

***

### regionViolationWarningEnabled?

> `optional` **regionViolationWarningEnabled?**: `boolean`

Enables a warning displayed if an item goes out of a region. The default value is `true`.

***

### textCropViolationWarningEnabled?

> `optional` **textCropViolationWarningEnabled?**: `boolean`

Enables a warning displayed if the text is too long for the bounding rectangle, and some strings are clipped. The default value is `true`.

***

### minFontSize?

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

Enables a warning displayed when text elements have font sizes smaller thanthe minimum required for the printing technique. The default value is `true`.

***

### rasterElements?

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

Enables a warning displayed when vector elements contain embedded raster images that are not allowed in the selected container. The default value is `true`.

***

### shapeViolationsEnabled?

> `optional` **shapeViolationsEnabled?**: `boolean`

Enables a warning displayed if the Asset Manager can import PDF and SVG graphics only with the loss of colors and raster images. The default value is `true`.

***

### inPlaceNotSupportedWarningEnabled?

> `optional` **inPlaceNotSupportedWarningEnabled?**: `boolean`

Enables warnings displayed when text elements have properties that are not supported in the [WYSIWYG text engine](https://customerscanvas.com/dev/editors/concepts/text-engines.html) and when the Classic text engine will render this text. The default value is `false`.

***

### tolerance?

> `optional` **tolerance?**: `number`

Defines a distance, in points, within which no warnings about violations of safety lines or the bleed zone will be displayed.
