TextResult
interface
TextResult
-
barcodeText: string
The barcode text.
-
barcodeFormat: number | EnumBarcodeFormat
The barcode format.
-
barcodeFormatString: string
Barcode type in string.
-
barcodeBytes: number[]
The barcode content in a byte array.
-
localizationResult: LocalizationResult
The corresponding localization result.
let reader = await Dynamsoft.DBR.BarcodeReader.createInstance();
let results = await reader.decode(imageSource);
for(let result of results){
console.log(result.barcodeText);
}