BarcodeDecodeResult Class
Represents a linear barcode read by BarcodeDecoder: its type, its text, and where it is on the scan lines.
public sealed class BarcodeDecodeResultProperties
| Name | Description |
|---|---|
| End | Gets the position of the end of the last bar of the barcode on its scan lines, in the unit of the widths of the runs. |
| FirstScanLine | Gets the index of the first scan line that crosses the barcode. |
| LastScanLine | Gets the index of the last scan line that crosses the barcode. |
| Start | Gets the position of the first bar of the barcode on its scan lines, in the unit of the widths of the runs. |
| Text | Gets the text of the barcode, as Barcode.Text gives it for a generated barcode: the check characters of Code 39 are part of the text, the start and stop characters of Codabar too, the add-on of an EAN or UPC symbol follows a space, and GS1 data is its human-readable interpretation (each application identifier in parentheses). |
| Type | Gets the type of the barcode. |
FirstScanLine
BarcodeDecodeResult.csLastScanLine
BarcodeDecodeResult.csGets the text of the barcode, as Barcode.Text gives it for a generated barcode: the check characters of Code 39 are part of the text, the start and stop characters of Codabar too, the add-on of an EAN or UPC symbol follows a space, and GS1 data is its human-readable interpretation (each application identifier in parentheses).
public string Text { get; }Property value
Gets the type of the barcode.
public BarcodeType Type { get; }Property value
Remarks
An EAN-13 symbol whose first digit is 0 is reported as BarcodeType.UpcA: the two are the same bars. The type of a GS1 DataBar Stacked or Stacked Omnidirectional symbol comes from the heights of its rows.
Methods
| Name | Description |
|---|---|
| ToString() | Returns a string that represents the current object. |