Skip to content

Commit 3043e9e

Browse files
committed
update OCR api's return values
1 parent c214279 commit 3043e9e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_articles/info/api/Addon_OCR.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ SaveToPath(
196196

197197
**Return Values**
198198

199-
A `boolean` result indicating the success of the operation.
199+
Promise of a `boolean` result indicating the success of the operation.
200200

201201
**Availability**
202202

@@ -242,7 +242,7 @@ SaveAsBase64(
242242

243243
**Return Values**
244244

245-
A base64 string result.
245+
Promise of a base64 string result.
246246

247247
**Availability**
248248

@@ -277,7 +277,7 @@ Save the result as blob.
277277
SaveAsBlob(
278278
indices: number[],
279279
outputFormat: Dynamsoft.DWT.EnumDWT_OCRKitOutputFormat | number
280-
): Promise<blob>;
280+
): Promise<Blob>;
281281
```
282282

283283
**Parameters**
@@ -288,7 +288,7 @@ SaveAsBlob(
288288

289289
**Return Values**
290290

291-
A `blob` result.
291+
Promise of a `Blob` object.
292292

293293
**Availability**
294294

0 commit comments

Comments
 (0)