---
title: "IViolationSettings | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-interfaces/IViolationSettings/"
---

# IViolationSettings

> A structure containing the configuration of preflight warnings.

## Interfaces

### IViolationSettings

#### Example

```json
{
   "violationWarningsSettings": {
       "allowSafetyLines": true,
       "allowTextCrop": false
   }
}
```

#### Properties

##### allowBleedArea?

```ts
optional allowBleedArea?: boolean;
```

Enables a warning displayed if an item crosses the bleed area. The default value is `true`.

##### allowImageQuality?

```ts
optional allowImageQuality?: boolean;
```

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

##### allowInPlaceText?

```ts
optional allowInPlaceText?: boolean;
```

Enables a warning displayed if selected text has features that are disallowed at in-place editing mode.

##### allowRegion?

```ts
optional allowRegion?: boolean;
```

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

##### allowSafetyLines?

```ts
optional allowSafetyLines?: boolean;
```

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

##### allowShape?

```ts
optional allowShape?: 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`.

##### allowTextCrop?

```ts
optional allowTextCrop?: 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`.
