BarcodeResultItem Class
The BarcodeResultItem class represents a barcode result item decoded by the barcode reader. It is derived from CapturedResultItem.
Definition
Namespace: Dynamsoft.BarcodeReader.Maui
Assembly: Dynamsoft.BarcodeReader.Maui
class BarcodeResultItem extends CapturedResultItem
Properties
| Property | Type | Description |
|---|---|---|
Format |
EnumBarcodeFormat | Get the format of the barcode. |
FormatString |
string | Get the format text of the barcode. |
Text |
string | Get the decode text of the barcode. |
Bytes |
byte[] | Get the decode byte of the barcode. |
Location |
Quadrilateral | Get the location of the barcode. |
Confidence |
int | Get the confidence of the decoding result. |
Angle |
int | Get the rotation angle of the barcode. |
ModuleSize |
int | Get the module size of the barcode. |
IsDPM |
bool | Check whether the barcode is a DPM barcode. |
IsMirrored |
bool | Check whether the barcode is mirrored. |
The following properties are inherited from class CapturedResultItem.
| Property | Type | Description |
|---|---|---|
Type |
EnumCapturedResultItemType | Get the type of the captured result item. |
TargetROIDefName |
string | The name of the TargetROIDef object which includes a task that generated the result. |
TaskName |
string | The name of the task that generated the result. |
Format
Get the format of the barcode. This format will be one of the EnumBarcodeFormat items.
EnumBarcodeFormat Format { get; }
FormatString
Get the format of the barcode, but as text instead of a BarcodeFormat item.
string FormatString { get; }
Text
Get the raw decoded text of the barcode.
string Text { get; }
Bytes
Get the raw bytes of the decoded barcode text.
byte[] Bytes { get; }
Location
Get the location of the barcode as a Quadrilateral. The quadrilateral contains the four vertex points of the location, with the first vertex being the left-most vertex, and going in a clockwise direction.
Quadrilateral Location { get; }
Confidence
Get the confidence of the decoded result, which is a measure of the result’s accuracy. If the confidence is lower than 30, the result will not be output by default.
int Confidence { get; }
Angle
If the barcode is captured at an angle, this method returns the rotation angle of the barcode.
int Angle { get; }
ModuleSize
Get the module size of the barcode.
int ModuleSize { get; }
IsDPM
Tells you whether the barcode is a DPM barcode, which is a unique type of Datamatrix code.
bool IsDPM { get; }
IsMirrored
Check whether the barcode is mirrored.
bool IsMirrored { get; }