Skip to content

Commit 0b61ea2

Browse files
update to internal commit b99a7ea9
1 parent 0a0c9ab commit 0b61ea2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

api/document-scanner.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ interface DocumentResultViewConfig {
257257
const documentScanner = new Dynamsoft.DocumentScanner({
258258
license: "YOUR_LICENSE_KEY_HERE", // Replace this with your actual license key
259259
resultViewConfig: {
260-
onDone: async (result) =>
260+
onDone: async (result) =>
261261
{
262262
const canvas = result.correctedImageResult.toCanvas();
263263
resultContainer.appendChild(canvas);
@@ -332,14 +332,14 @@ Create a scan region with a height-to-width ratio of 3:2, translated upwards by
332332
```javascript
333333
scanRegion {
334334
ratio: {
335-
width: 2;
336-
height: 3;
337-
};
338-
regionBottomMargin: 20;
335+
width: 2,
336+
height: 3,
337+
},
338+
regionBottomMargin: 20,
339339
style: {
340-
strokeWidth: 3;
341-
strokeColor: "green";
342-
};
340+
strokeWidth: 3,
341+
strokeColor: "green",
342+
},
343343
}
344344
```
345345

@@ -354,7 +354,7 @@ A simplified configuration type for toolbar buttons.
354354
export type ToolbarButtonConfig = Pick<"icon" | "label" | "isHidden">;
355355
```
356356

357-
#### Properties
357+
#### Properties
358358

359359
| Property | Type | Description |
360360
| ---------- | -------------------- | ----------------------------------- |
@@ -448,4 +448,4 @@ interface EngineResourcePaths {
448448
"ddv"?: string | PathInfo;
449449
"dwt"?: string | DwtInfo;
450450
}
451-
```
451+
```

0 commit comments

Comments
 (0)