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

# IViolationServiceConfiguration

> ***

## Enumerations

### SafetyLineViolationMode

#### Enumeration Members

| Enumeration Member | Value |
| ------ | ------ |
|  `InsideAll` | `"InsideAll"` |
|  `InsideAny` | `"InsideAny"` |
|  `PartiallyInsideAny` | `"PartiallyInsideAny"` |

### ValidationSeverity

#### Enumeration Members

| Enumeration Member | Value |
| ------ | ------ |
|  `Error` | `"Error"` |
|  `Warning` | `"Warning"` |

## Interfaces

### IMinFontSizeConfig

#### Properties

##### enabled

```ts
enabled: boolean;
```

##### severity

```ts
severity: ValidationSeverity;
```

***

### IQualityLevelsConfig

#### Properties

##### bad

```ts
bad: number;
```

##### warning

```ts
warning: number;
```

***

### IQualityMeterConfig

#### Properties

##### enabled

```ts
enabled: boolean;
```

##### qualityLevels

```ts
qualityLevels: IQualityLevelsConfig;
```

##### renderingDpi

```ts
renderingDpi: number;
```

***

### IRasterElementsConfig

#### Properties

##### enabled

```ts
enabled: boolean;
```

##### severity

```ts
severity: ValidationSeverity;
```

***

### ISafetyLinesConfig

#### Properties

##### enabled

```ts
enabled: boolean;
```

##### mode

```ts
mode: SafetyLineViolationMode;
```

***

### IViolationServiceConfiguration

#### Properties

##### bleedViolationWarningEnabled?

```ts
optional bleedViolationWarningEnabled?: boolean;
```

##### enabled?

```ts
optional enabled?: boolean;
```

##### inPlaceNotSupportedWarningEnabled?

```ts
optional inPlaceNotSupportedWarningEnabled?: boolean;
```

##### maxArtworkSizeWarningEnabled?

```ts
optional maxArtworkSizeWarningEnabled?: boolean;
```

##### minFontSize?

```ts
optional minFontSize?: IMinFontSizeConfig;
```

##### outOfPrintAreaViolationWarningEnabled?

```ts
optional outOfPrintAreaViolationWarningEnabled?: boolean;
```

##### qualityChangeContainersEnabled?

```ts
optional qualityChangeContainersEnabled?: boolean;
```

##### qualityMeter?

```ts
optional qualityMeter?: IQualityMeterConfig;
```

##### rasterElements?

```ts
optional rasterElements?: IRasterElementsConfig;
```

##### regionViolationWarningEnabled?

```ts
optional regionViolationWarningEnabled?: boolean;
```

##### safetyLines?

```ts
optional safetyLines?: ISafetyLinesConfig;
```

##### safetyLineViolationWarningEnabled?

```ts
optional safetyLineViolationWarningEnabled?: boolean;
```

##### textCropViolationWarningEnabled?

```ts
optional textCropViolationWarningEnabled?: boolean;
```

##### tolerance?

```ts
optional tolerance?: number;
```

##### violationWarningButtonsEnabled?

```ts
optional violationWarningButtonsEnabled?: boolean;
```
