zplCore.comzplCore.com

ZplCheck.Rules

public static class ZplCheck.Rules

Rule ids of the testing checks (ZT…). Compliance (ZPL3xxx) and scan-proof (SPxxxx) keep their own ids.

Properties

PropertyTypeDescription
static All { get; }IReadOnlyList<(string, string, string, CheckSeverity)>Id, name, description and default level of every ZT rule (SARIF rule metadata).

Fields & Constants

FieldTypeDescription
const BaselineAdded = "ZT3002"stringNew label file.
const BaselineChanged = "ZT3001"stringThe label changed against the baseline.
const Clipped = "ZT1102"stringAn element extends beyond the label edge.
const GradeBelowMinimum = "ZT1301"stringA barcode grade is below ZplCheckOptions.MinGrade.
const LoadFailed = "ZT1000"stringThe file could not be read or converted.
const NoLabel = "ZT1002"stringThe file prints no label.
const Overlap = "ZT1101"stringInk of two elements overlaps.
const RenderDiagnostic = "ZT1001"stringRender diagnostic (warning/error).
const SnapshotContentChanged = "ZT2003"stringElements added, removed or changed against the snapshot.
const SnapshotMismatch = "ZT2001"stringThe render differs from the approved snapshot.
const SnapshotMissing = "ZT2002"stringNo approved snapshot.
const SnapshotUpdated = "ZT2004"stringThe snapshot was (re)written.