Assertions on one barcode: scan-proof (decode, grade, quiet zones) and measured geometry.
Properties
| Property | Type | Description |
Symbol { get; } | ScanProofSymbol | The scan-proof result of this barcode (decoders, grade, quiet zones, findings); null when not found. |
Methods
| Method Signature | Returns | Description |
# Decodes() | BarcodeAssertions | Decoders read the barcode back from the render, with the data its field asks for. |
# Decodes(string expected) | BarcodeAssertions | Decoders read exactly expected. GS1 data may be written as "(00)376…" (parentheses), raw with GS separators, or with "^FNC1"; it compares element by element. |
# HasBarHeight(double atLeastMm) | BarcodeAssertions | Linear barcodes: the bar height is at least atLeastMm mm. |
# HasGrade(char atLeast) | BarcodeAssertions | The digital pre-check grade (modelled on ISO/IEC 15416/15415) is at least atLeast ('A'–'D'). |
# HasGrade(ScanProofGrade atLeast) | BarcodeAssertions | The digital pre-check grade is at least atLeast. |
# HasQuietZones() | BarcodeAssertions | The quiet zones (clear space before and after the symbol) are at least what the symbology requires. |
# HasXDimension(double minMm, double maxMm = 1.7976931348623157E+308) | BarcodeAssertions | The measured X-dimension (narrowest bar or module) is between minMm and maxMm. |
# IsGs1(string? ai = default, string? value = default) | BarcodeAssertions | The barcode carries GS1 element strings (FNC1 first) – optionally with AI ai = value. |
# IsSymbology(ComplianceSymbology symbology) | BarcodeAssertions | The barcode has the symbology symbology. |