You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -146,19 +154,22 @@ There can only be one listener for each built-in event. If you call `RegisterEve
146
154
147
155
## SetLanguage
148
156
157
+
Set the language for the authorization dialogs.
158
+
149
159
**Syntax**
150
160
151
161
```typescript
152
-
/**
153
-
* Set the language for the authorization dialogs.
154
-
* @paramlanguage Specify the language.
155
-
*/
156
162
SetLanguage(
157
163
language: Dynamsoft.DWT.EnumDWT_Language|number
158
164
): boolean;
159
165
```
160
166
167
+
**Parameters**
168
+
169
+
`language`: Specify the language. Please refer to [EnumDWT_Language]({{site.info}}api/Dynamsoft_Enum.html#dynamsoftdwtenumdwt_language)
170
+
161
171
**Availability**
172
+
162
173
<divclass="availability">
163
174
<table>
164
175
@@ -189,11 +200,13 @@ The language set with this method is only for the built-in security dialogs whic
189
200
190
201
## GenerateURLForUploadData
191
202
203
+
Generate a URL to be used by a FileUpoader instance to fetch the data to upload.
204
+
192
205
**Syntax**
193
206
194
207
```typescript
195
208
/**
196
-
* Generate a URL to be used by a FileUpoader instance to fetch the data to upload.
209
+
*
197
210
* @paramindices Specify the images to upload.
198
211
* @paramtype Specify the file type.
199
212
* @paramsuccessCallback A callback function that is executed if the request succeeds.
@@ -217,7 +230,23 @@ GenerateURLForUploadData(
217
230
): void;
218
231
```
219
232
233
+
**Parameters**
234
+
235
+
`indices`: Specify the images to upload.
236
+
237
+
`type`: Specify the file type. Please refer to [EnumDWT_ImageType]({{site.info}}api/Dynamsoft_Enum.html#dynamsoftdwtenumdwt_imagetype).
238
+
239
+
`successCallback`: A callback function that is executed if the request succeeds.
240
+
-`resultURL`: The generated URL.
241
+
-`indices`: The indices of the images.
242
+
-`type`: The file type. Please refer to [EnumDWT_ImageType]({{site.info}}api/Dynamsoft_Enum.html#dynamsoftdwtenumdwt_imagetype).
243
+
244
+
`failureCallback`: A callback function that is executed if the request fails.
245
+
-`errorCode`: The error code.
246
+
-`errorString`: The error string.
247
+
220
248
**Availability**
249
+
221
250
<divclass="availability">
222
251
<table>
223
252
@@ -244,16 +273,16 @@ GenerateURLForUploadData(
244
273
245
274
## ErrorCode
246
275
276
+
Return the error code.
277
+
247
278
**Syntax**
248
279
249
280
```typescript
250
-
/**
251
-
* Return the error code.
252
-
*/
253
281
readonlyErrorCode: number;
254
282
```
255
283
256
284
**Availability**
285
+
257
286
<divclass="availability">
258
287
<table>
259
288
@@ -284,16 +313,16 @@ The `ErrorCode` and `ErrorString` always reflect the result of the last API call
284
313
285
314
## ErrorString
286
315
316
+
Return the error string.
317
+
287
318
**Syntax**
288
319
289
320
```typescript
290
-
/**
291
-
* Return the error string.
292
-
*/
293
321
readonlyErrorString: string;
294
322
```
295
323
296
324
**Availability**
325
+
297
326
<divclass="availability">
298
327
<table>
299
328
@@ -324,12 +353,11 @@ The `ErrorCode` and `ErrorString` always reflect the result of the last API call
324
353
325
354
## LogLevel
326
355
356
+
Return or set the log level for debugging.
357
+
327
358
**Syntax**
328
359
329
360
```typescript
330
-
/**
331
-
* Return or set the log level for debugging.
332
-
*/
333
361
LogLevel: number;
334
362
```
335
363
@@ -359,18 +387,17 @@ LogLevel: number;
359
387
360
388
**Usage notes**
361
389
362
-
The logs for the Dynamic Web TWAIN library are saved in the directory `C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64_17\log\`. By default, `LogLevel` is 0 and nothing is recorded. When it is set to 1, all debugging information is recorded. This setting in your application will apply to all machines.
390
+
The logs for the Dynamic Web TWAIN library are saved in the directory `C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64_17\log\`. By default, `LogLevel` is 0 and nothing is recorded. When it is set to 1, all debugging information is recorded. This setting in your application will apply to all machines. Please set it back to 0 if you don't need to record log as it will slow down the speed.
363
391
364
392
---
365
393
366
394
## Manufacturer
367
395
396
+
Manufacturer in the identity string of the Dynamic Web TWAIN library.
397
+
368
398
**Syntax**
369
399
370
400
```typescript
371
-
/**
372
-
* Manufacturer in the identity string of the Dynamic Web TWAIN library.
0 commit comments