MENU
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.

JavaScript API Reference - BarcodeReader Properties

Property Description
_bUseFullFeature If set to true, use the fully-featured WASM module.
bDestroyed Indicates whether a BarcodeReader object has been destroyed.
bSaveOriCanvas If set to true, save the original image to canvas.
oriCanvas The original canvas element.
licenseServer The license server(s) used for authentication and tracking.
handshakeCode The handshake code to interact with the license server(s).
sessionPassword The session password used for authentication associated with the handshake code.

_bUseFullFeature

Set usage of compact or full featured SDK. If set to true, use the fully-featured WASM module.

Note: this API may change in the future.

Dynamsoft.DBR.BarcodeReader._bUseFullFeature = Boolean

Default Value

false for web

Sample

Dynamsoft.DBR.BarcodeReader._bUseFullFeature = true;
await Dynamsoft.DBR.BarcodeReader.loadWasm();

:+1: Tips and Tricks

  • Check out what features are included in compact and full version.
  • This property must be set before loadWasm.
  • We recommend using the compact version in video decoding for its small size and quick initialization.
  • This property cannot be set in NodeJS and will always use the fully featured version.

licenseServer

Set or get the license server used to authenticate the license (handshakeCode) and track barcode reading usage. By default, Dynamsoft will host the license tracking server but a self hosting option is available. Learn more about License Tracking Server 2.0. Set this API before calling createInstance.

Sample

Dynamsoft.DBR.BarcodeReader.licenseServer = ["https://your.mainServer.com", "https://your.backupServer.com"];

handshakeCode

Set or get the handshakeCode. Learn more about What is handshakeCode. Set this API before calling createInstance.

The API productKeys can be used to set the handshakeCode as well but we recommend using this new API instead.

Sample

Dynamsoft.DBR.BarcodeReader.handshakeCode = "100017601-100043744";

sessionPassword

Set or get the session password used for authentication of the license (handshake code) associated with the application. Learn more about session password in License Tracking Server 2.0. Set this API before calling createInstance.

Sample

Dynamsoft.DBR.BarcodeReader.sessionPwd = "MyPassw0rd";

This page is compatible for:

Version 7.5

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest Version
  • version 7.6
  • version 7.5
Change +
© 2003–2020 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support