Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
yushulx committed Nov 17, 2023
1 parent 2682b2a commit 2f8db17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RazorBarcodeLibrary/wwwroot/barcodeJsInterop.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ export async function createBarcodeScanner() {

try {
let scanner = await Dynamsoft.DBR.BarcodeScanner.createInstance();
await scanner.updateRuntimeSettings("speed");
scanner.barcodeFillStyle = "transparent";
scanner.barcodeStrokeStyle = "transparent";
scanner.barcodeFillStyleBeforeVerification = "transparent";
scanner.barcodeStrokeStyleBeforeVerification = "transparent";
scanner.onUnduplicatedRead = (txt, result) => { };
scanner.onPlayed = function () {

Expand Down

0 comments on commit 2f8db17

Please sign in to comment.