Resource Base
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

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);
}

Some advanced parameters are not listed. See C++ TextResult for more info.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

latest version

    • Latest version
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.5
    • Version 8.2.3
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.3
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
    • Version 7.6.0
    • Version 7.5.0
    Change +
    © 2003–2021 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support