Skip to content

Commit 8024c4f

Browse files
committed
fix
1 parent d0ed7d5 commit 8024c4f

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ logs/
55
*.tmp
66
temp/*
77
!temp/keep.txt
8-
.idea
8+
.idea
9+
# *.py

barcode-reader/web/scan-setting/enable-supported-barcode-format.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,22 @@ settings.barcodeSettings.barcodeFormatIds =
4141
Dynamsoft.DBR.EnumBarcodeFormat.BF_ONED | Dynamsoft.DBR.EnumBarcodeFormat.BF_QR_CODE;
4242
await router.updateSettings("ReadSingleBarcode", settings);
4343
await router.startCapturing("ReadSingleBarcode");
44-
// View the complete list of supported barcode formats and their corresponding IDs here: [Barcode Format Documentation](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/enum-barcode-format.html?lang=js)
44+
// View the complete list of supported barcode formats and their corresponding IDs here
45+
// https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/enum-barcode-format.html?lang=js
4546
```
4647
>
4748
```objc
4849
DSBarcodeScannerConfig *config = [[DSBarcodeScannerConfig alloc] init];
4950
config.barcodeFormats = DSBarcodeFormatQRCode | DSBarcodeFormatOned;
50-
// View the complete list of supported barcode formats and their corresponding IDs here: [Barcode Format Documentation](https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/objectivec-swift/api-reference/enum/barcode-format.html)
51+
// View the complete list of supported barcode formats and their corresponding IDs here
52+
// https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/objectivec-swift/api-reference/enum/barcode-format.html
5153
```
5254
>
5355
```swift
5456
let config = BarcodeScannerConfig()
5557
config.barcodeFormats = [.oneD, .qrCode]
56-
// View the complete list of supported barcode formats and their corresponding IDs here: [Barcode Format Documentation](https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/objectivec-swift/api-reference/enum/barcode-format.html)
58+
// View the complete list of supported barcode formats and their corresponding IDs here
59+
// https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/objectivec-swift/api-reference/enum/barcode-format.html
5760
```
5861
>
5962
```java
@@ -67,7 +70,8 @@ try {
6770
} catch (CaptureVisionRouterException e) {
6871
e.printStackTrace();
6972
}
70-
// View the complete list of supported barcode formats and their corresponding IDs here: [Barcode Format Documentation](https://www.dynamsoft.com/barcode-reader/docs/server/programming/java/api-reference/enum-barcode-format.html)
73+
// View the complete list of supported barcode formats and their corresponding IDs here
74+
// https://www.dynamsoft.com/barcode-reader/docs/server/programming/java/api-reference/enum-barcode-format.html
7175
```
7276
>
7377
```python
@@ -79,7 +83,8 @@ err_code, err_str, settings = cvr_instance.get_simplified_settings(EnumPresetTem
7983
settings.barcode_settings.barcode_format_ids = EnumBarcodeFormat.BF_QR_CODE.value | EnumBarcodeFormat.BF_ONED. value
8084
# Update the settings.
8185
err_code, err_str = cvr_instance.update_settings(EnumPresetTemplate.PT_READ_BARCODES.value, settings)
82-
# View the complete list of supported barcode formats and their corresponding IDs here: [Barcode Format Documentation](https://www.dynamsoft.com/barcode-reader/docs/server/programming/python/api-reference/enum-barcode-format.html)
86+
# View the complete list of supported barcode formats and their corresponding IDs here
87+
# https://www.dynamsoft.com/barcode-reader/docs/server/programming/python/api-reference/enum-barcode-format.html
8388
```
8489
>
8590
```c++
@@ -93,7 +98,8 @@ cvr->GetSimplifiedSettings(CPresetTemplate::PT_READ_BARCODES, &settings);
9398
settings.barcodeSettings.barcodeFormatIds = BF_QR_CODE | BF_ONED;
9499
// Update the settings.
95100
cvr->UpdateSettings(CPresetTemplate::PT_READ_BARCODES, &settings, szErrorMsg, 256);
96-
// View the complete list of supported barcode formats and their corresponding IDs here: [Barcode Format Documentation](https://www.dynamsoft.com/barcode-reader/docs/server/programming/cplusplus/api-reference/enum-barcode-format.html?lang=cpp)
101+
// View the complete list of supported barcode formats and their corresponding IDs here
102+
// https://www.dynamsoft.com/barcode-reader/docs/server/programming/cplusplus/api-reference/enum-barcode-format.html?lang=cpp
97103
```
98104
>
99105
```csharp
@@ -109,5 +115,6 @@ using (CaptureVisionRouter cvr = new CaptureVisionRouter())
109115
// Update the settings.
110116
cvr.UpdateSettings(PresetTemplate.PT_READ_BARCODES, settings, out errorMsg);
111117
}
112-
// View the complete list of supported barcode formats and their corresponding IDs here: [Barcode Format Documentation](https://www.dynamsoft.com/barcode-reader/docs/server/programming/dotnet/api-reference/enum-barcode-format.html?product=dcv&lang=dotnet)
118+
// View the complete list of supported barcode formats and their corresponding IDs here
119+
// https://www.dynamsoft.com/barcode-reader/docs/server/programming/dotnet/api-reference/enum-barcode-format.html?product=dcv&lang=dotnet
113120
```

0 commit comments

Comments
 (0)