diff --git a/RazorBarcodeLibrary/wwwroot/barcodeJsInterop.js b/RazorBarcodeLibrary/wwwroot/barcodeJsInterop.js index c71e9e3..b788b7c 100644 --- a/RazorBarcodeLibrary/wwwroot/barcodeJsInterop.js +++ b/RazorBarcodeLibrary/wwwroot/barcodeJsInterop.js @@ -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 () {