Back to Website
Show / Hide Table of Contents

Interface IViolationWarningsSettingsConfig

A structure containing the configuration of preflight warnings.

Package: @aurigma/design-editor-iframe
Remarks

For details, see the Warnings topic.

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

Properties

bleedViolationWarningEnabled

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

Declaration
bleedViolationWarningEnabled?: boolean;
Property Value
Type Description
boolean

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

inPlaceNotSupportedWarningEnabled

Enables warnings displayed when text elements have properties that are not supported in the WYSIWYG text engine and when the Classic text engine will render this text. The default value is false.

Declaration
inPlaceNotSupportedWarningEnabled?: boolean;
Property Value
Type Description
boolean

Enables warnings displayed when text elements have properties that are not supported in the WYSIWYG text engine and when the Classic text engine will render this text. The default value is false.

minFontSize

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

Declaration
minFontSize?: IMinFontSizeConfig;
Property Value
Type Description
IMinFontSizeConfig

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

qualityMeter

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

Declaration
qualityMeter?: IQualityMeterConfig;
Property Value
Type Description
IQualityMeterConfig

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

rasterElements

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

Declaration
rasterElements?: IRasterElementsConfig;
Property Value
Type Description
IRasterElementsConfig

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

regionViolationWarningEnabled

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

Declaration
regionViolationWarningEnabled?: boolean;
Property Value
Type Description
boolean

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

safetyLines

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

Declaration
safetyLines?: ISafetyLinesConfig;
Property Value
Type Description
ISafetyLinesConfig

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

safetyLineViolationWarningEnabled

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

Deprecation: Use [IViolationWarningsSettingsConfig.safetyLines](xref:@aurigma/design-editor-iframe!IViolationWarningsSettingsConfig%23safetyLines:member) instead.
Declaration
safetyLineViolationWarningEnabled?: boolean;
Property Value
Type Description
boolean

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

shapeViolationsEnabled

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.

Declaration
shapeViolationsEnabled?: boolean;
Property Value
Type Description
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.

textCropViolationWarningEnabled

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

Declaration
textCropViolationWarningEnabled?: boolean;
Property Value
Type Description
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.

tolerance

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

Declaration
tolerance?: number;
Property Value
Type Description
number

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

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback