Skip to content

Commit 01708db

Browse files
committed
update path param in SaveToPath
1 parent fddff9b commit 01708db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_articles/info/api/Addon_OCR.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Save the result to a local path.
182182
SaveToPath(
183183
indices: number[],
184184
outputFormat: Dynamsoft.DWT.EnumDWT_OCRKitOutputFormat | number,
185-
path?: string
185+
path: string
186186
): Promise<boolean>;
187187
```
188188

@@ -192,7 +192,7 @@ SaveToPath(
192192

193193
`outputFormat`: Please refer to [`EnumDWT_OCRKitOutputFormat`](/_articles/info/api/Dynamsoft_Enum.md#dynamsoftdwtenumdwt_ocrkitoutputformat).
194194

195-
`path`: System's absolute path for saving. If not specified, it will show the file saving dialog to select an output path.
195+
`path`: System's absolute path for saving or the filename. A file saving dialog will appear for confirmation.
196196

197197
**Return Values**
198198

0 commit comments

Comments
 (0)