IViolationWarningsSettingsConfig Interface

A structure containing the configuration of preflight warnings.

example
{
    "violationWarningsSettings": {
        "qualityMeter": {
            "enabled": true,
            "qualityLevels": {
                "warning": "100",
                "bad": "90"
            }
        },
        "regionViolationWarningEnabled": true,
        "safetyLineViolationWarningEnabled": false
    },

    "canvas": {
        "violationWarningButtonsEnabled": true,
        "qualityChangeContainersEnabled": true
    },

    "widgets": {
            "ObjectInspector": {
                "violationWarningsEnabled": true
            }
    }
}

Properties

Optional qualityMeter

qualityMeter: IQualityMeterConfig

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

Optional regionViolationWarningEnabled

regionViolationWarningEnabled: boolean

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

Optional safetyLineViolationWarningEnabled

safetyLineViolationWarningEnabled: boolean

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

Optional textCropViolationWarningEnabled

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 false.