Class ComplexCodetextReader
Reads and parses complex barcodes such as Swiss QR Bill.
Inherited Members
Namespace: DRIT.Barcode.Complex
Assembly: DRIT.Barcode.dll
Syntax
public static class ComplexCodetextReader
Methods
TryReadSwissQR(BarCodeResult, out SwissQRBill?)
Attempts to parse a recognized barcode result as a Swiss QR Bill.
Declaration
public static bool TryReadSwissQR(BarCodeResult result, out SwissQRBill? bill)
Parameters
| Type | Name | Description |
|---|---|---|
| BarCodeResult | result | The recognized barcode result. |
| SwissQRBill | bill | The parsed Swiss QR Bill, or null if parsing failed. |
Returns
| Type | Description |
|---|---|
| bool | True if the result was successfully parsed as a Swiss QR Bill. |
TryReadSwissQR(BarCodeResult[], out SwissQRBill?)
Attempts to parse a recognized barcode result as a Swiss QR Bill, trying all results and returning the first successful parse.
Declaration
public static bool TryReadSwissQR(BarCodeResult[] results, out SwissQRBill? bill)
Parameters
| Type | Name | Description |
|---|---|---|
| BarCodeResult[] | results | The recognized barcode results. |
| SwissQRBill | bill | The parsed Swiss QR Bill, or null if none found. |
Returns
| Type | Description |
|---|---|
| bool | True if any result was successfully parsed as a Swiss QR Bill. |