getFoundBarCodes

getFoundBarCodes()

Gets recognized BarCodeResult array

getFoundBarCodes()

Return Value

recognized

BarCodeResult array

Examples

//This sample shows how to read barcodes with BarCodeReader
let reader = new BarCodeReader("test.png", null,  [ DecodeType.CODE_39, DecodeType.CODE_128 ]);
reader.readBarCodes();
for(let i = 0; reader.getFoundCount() > i; ++i)
console.log("BarCode CodeText: " +  reader.getFoundBarCodes()[i].getCodeText());

See Also