zplCore.comzplCore.com
class14 members

ScanProofOptions

public sealed class ScanProofOptions

Settings for ZplScanProof.

Constructors

SignatureDescription
# ScanProofOptions()

Properties

PropertyTypeDescription
AntiAlias { get; set; }boolRender with anti-aliasing. Off by default: a thermal printer prints whole dots, so the 1-bit render is what gets printed. Turn it on to see the effect of grey edges (finding SP1106).
ConfigureRender { get; set; }Action<ZplRenderSettings>Adjusts the render settings before rendering (fonts, ^PW/^LL forcing …). Scan-proof's own settings are applied after it.
Dpi { get; set; }intPrinter resolution the label is rendered and measured at (152, 203, 300 or 600 dpi). Default 203.
FieldValues { get; set; }IReadOnlyDictionary<int, string>Values for ^FN fields (as ZplRenderSettings.FieldValues).
LabelHeight { get; set; }int?Label height in dots when the ZPL has no ^LL (default 6 in at ScanProofOptions.Dpi).
LabelWidth { get; set; }int?Label width in dots when the ZPL has no ^PW (default 4 in at ScanProofOptions.Dpi).
MaxLabels { get; set; }intMaximum number of labels checked (^PQ copies and formats); identical copies are skipped. Default 50.
MaxXDimensionMm { get; set; }double?
MinXDimensionMm { get; set; }double?Smallest/largest allowed X-dimension in mm (e.g. an application specification such as a carrier or GS1 logistics table). Overrides the symbology's own range (EAN/UPC: 0.264–0.660 mm); null keeps it.
Robustness { get; set; }boolAlso run the robustness simulation: decode after deterministic degradations (bar gain/loss in whole dots, blur, ±2° rotation, lower resolution). A heuristic stress test, not a model of a particular printer.
RobustnessTargetDpi { get; set; }intResolution of the downscale step of the robustness simulation (default 203; skipped when not below ScanProofOptions.Dpi).
UseZxingCpp { get; set; }boolUse zxing-cpp (native) when it is available on this platform. Default true.
UseZxingNet { get; set; }boolUse ZXing.Net (managed). Default true.