Skip to content

Commit fc25700

Browse files
authored
Merge pull request #438 from yqz5625/patch-3
Update enable-supported-barcode-format.md
2 parents dd80f23 + fd5c8a5 commit fc25700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programming/javascript/faq/enable-supported-barcode-format.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Update your code to explicitly enable **only the licensed formats**. Here are ex
3939
let settings = await router.getSimplifiedSettings("ReadSingleBarcode");
4040
// Enable QR Code and OneD
4141
settings.barcodeSettings.barcodeFormatIds =
42-
Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE;
42+
Dynamsoft.DBR.EnumBarcodeFormat.BF_ONED | Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE;
4343
await router.updateSettings("ReadSingleBarcode", settings);
4444
await router.startCapturing("ReadSingleBarcode");
4545
```

0 commit comments

Comments
 (0)