Barcode2DDecodeResult Class
Represents the content of a Data Matrix, PDF417 or Aztec symbol read by Barcode2DDecoder.
public sealed class Barcode2DDecodeResultProperties
| Name | Description |
|---|---|
| Bytes | Gets the bytes of the data, without the ECI designators. The FNC1 characters that separate the elements of GS1 data are GS bytes (0x1D); the FNC1 that marks GS1 data at the start of the symbol is not included. |
| CorrectedErrorCount | Gets the number of codewords that the error correction fixed. |
| EciAssignmentNumber | Gets the assignment number of the first ECI designator of the data, or null. |
| IsGs1 | Gets whether the data is GS1 element strings: the symbol starts with a FNC1 character. |
| Text | Gets the text of the data. The bytes are decoded with the character set of the ECI designator that precedes them; without one, as UTF-8 when they are valid UTF-8, and as ISO/IEC 8859-1 otherwise. The FNC1 characters that separate the elements of GS1 data are GS characters (U+001D). For GS1 data (Barcode2DDecodeResult.IsGs1), the text is the human-readable interpretation: each application identifier in parentheses, followed by its data. |
| Type | Gets the type of the symbol. |
Gets the bytes of the data, without the ECI designators. The FNC1 characters that separate the elements of GS1 data are GS bytes (0x1D); the FNC1 that marks GS1 data at the start of the symbol is not included.
public ReadOnlyMemory<byte> Bytes { get; }Property value
CorrectedErrorCount
Barcode2DDecodeResult.csEciAssignmentNumber
Barcode2DDecodeResult.csGets the text of the data. The bytes are decoded with the character set of the ECI designator that precedes them; without one, as UTF-8 when they are valid UTF-8, and as ISO/IEC 8859-1 otherwise. The FNC1 characters that separate the elements of GS1 data are GS characters (U+001D). For GS1 data (Barcode2DDecodeResult.IsGs1), the text is the human-readable interpretation: each application identifier in parentheses, followed by its data.
public string Text { get; }Property value
Methods
| Name | Description |
|---|---|
| ToString() | Returns a string that represents the current object. |