Skip to content

Commit 6e321eb

Browse files
authored
Merge pull request #422 from yqz5625/main
Update enable-supported-barcode-format.md
2 parents 80f4d88 + 69010e4 commit 6e321eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ Explicitly enable **only the barcode formats covered by your license** in your c
3333
Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE;
3434
await router.updateSettings("ReadSingleBarcode", settings);
3535
await router.startCapturing("ReadSingleBarcode");
36-
36+
```
3737
3. **For Multiple Formats**
3838
Use bitwise OR (|) to combine formats. Example for enabling QR Code + 1D formats:
3939

4040
```javascript
4141
// Enable QR Code only
4242
settings.barcodeSettings.barcodeFormatIds =
4343
Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE|Dynamsoft.DBR.EnumBarcodeFormat.BF_ONED;
44-
44+
```
4545
4. **Verify Supported Formats**
4646
View the complete list of supported barcode formats and their corresponding IDs here:[Barcode Format Documentation](https://www.dynamsoft.com/capture-vision/docs/core/enums/barcode-reader/barcode-format.html?lang=js&product=dbr)

0 commit comments

Comments
 (0)