Skip to content

Commit febb9ea

Browse files
committed
fix: wrong style in code snippet
1 parent 41b57ae commit febb9ea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

programming/features/barcode-scan-region.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ settings.roi.points[2] = {x:90, y:90};
3333
settings.roi.points[3] = {x:10, y:90};
3434
// Update the settings to a specific template.
3535
await router.updateSettings("ReadSingleBarcode", settings);
36-
36+
//============================================================
3737
// Alternatively, you can set the scan region directly at the image source in a simpler way.
3838
// If you’re using Dynamsoft Camera Enhancer, the following example demonstrates
3939
// how to specify a single scan region without modifying the template.
40-
4140
let cameraEnhancer = await Dynamsoft.DCE.CameraEnhancer.createInstance();
4241
cameraEnhancer.setScanRegion({
4342
x: 10,
@@ -46,7 +45,6 @@ cameraEnhancer.setScanRegion({
4645
height: 80,
4746
isMeasuredInPercentage: true,
4847
});
49-
5048
```
5149
>
5250
```c++

0 commit comments

Comments
 (0)