Skip to content

Commit 32ea843

Browse files
committed
update
1 parent b288817 commit 32ea843

File tree

3 files changed

+27
-129
lines changed

3 files changed

+27
-129
lines changed

info/api/Dynamsoft_FileUploader.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Init(
6363
<div class="availability"></div>
6464

6565
|:-|:-|
66-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
67-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
66+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
67+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
6868

6969
**Usage notes**
7070

@@ -178,8 +178,8 @@ interface FormField {
178178
<div class="availability"></div>
179179

180180
|:-|:-|
181-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
182-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
181+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
182+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
183183

184184
---
185185

@@ -200,8 +200,8 @@ Run(job: Job): boolean;
200200
<div class="availability"></div>
201201

202202
|:-|:-|
203-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
204-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
203+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
204+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
205205

206206
---
207207

@@ -222,8 +222,8 @@ Cancel(job: Job): boolean;
222222
<div class="availability"></div>
223223

224224
|:-|:-|
225-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
226-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
225+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
226+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
227227

228228
---
229229

@@ -243,8 +243,8 @@ CancelAllUpload(): boolean;
243243
<div class="availability"></div>
244244

245245
|:-|:-|
246-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
247-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
246+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
247+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
248248

249249
---
250250

@@ -307,8 +307,8 @@ GenerateURLForUploadData(
307307
<div class="availability"></div>
308308

309309
|:-|:-|
310-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
311-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
310+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
311+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
312312

313313
**Example**
314314

@@ -358,8 +358,8 @@ ServerUrl: string;
358358
<div class="availability"></div>
359359

360360
|:-|:-|
361-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
362-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
361+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
362+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
363363

364364
---
365365

@@ -379,8 +379,8 @@ HttpHeader: object;
379379
<div class="availability"></div>
380380

381381
|:-|:-|
382-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
383-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
382+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
383+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
384384

385385
**Usage notes**
386386

@@ -404,8 +404,8 @@ SourceValue: object;
404404
<div class="availability"></div>
405405

406406
|:-|:-|
407-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
408-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
407+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
408+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
409409

410410
**Usage notes**
411411

@@ -435,8 +435,8 @@ FormField: object;
435435
<div class="availability"></div>
436436

437437
|:-|:-|
438-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
439-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
438+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
439+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
440440

441441
**Usage notes**
442442

@@ -468,8 +468,8 @@ job.FormField.Add("customField", "FormFieldValue");
468468
<div class="availability"></div>
469469

470470
|:-|:-|
471-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
472-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
471+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
472+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
473473

474474
**Example**
475475

@@ -499,8 +499,8 @@ function FileUpload_ OnUploadTransferPercentage (obj, sPercentage){
499499
<div class="availability"></div>
500500

501501
|:-|:-|
502-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
503-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
502+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
503+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
504504

505505
**Example**
506506

@@ -538,8 +538,8 @@ errorString: string
538538
<div class="availability"></div>
539539

540540
|:-|:-|
541-
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|WASM|
542-
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ | supported |
541+
|ActiveX|H5(Windows)|H5(macOS/TWAIN)|H5(macOS/ICA)|H5(Linux)|
542+
| not supported | v17.2+ | v17.2+ | v17.2+ | v17.2+ |
543543

544544
**Example**
545545

info/api/WebTwain_Edit.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,19 +1050,16 @@ CutToClipboard(index: number): boolean;
10501050
</tr>
10511051

10521052
<tr>
1053-
<>
1054-
align="center">v4.0+ </td>
1053+
<td align="center">v4.0+ </td>
10551054
<td align="center">v10.0+ </td>
10561055
<td align="center">v11.0+ </td>
10571056
<td align="center">v11.0+ </td>
10581057
<td align="center">v12.1+ </td>
1059-
<td align="center">not supported </td>
10601058
</tr>
10611059

10621060
</table>
10631061
</div>
10641062

1065-
10661063
---
10671064

10681065
## CropToClipboard

info/api/WebTwain_Viewer.md

Lines changed: 0 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,8 +1244,6 @@ previous(): number;
12441244
<td align="center">v16.2+ </td>
12451245
<td align="center">v16.2+ </td>
12461246
<td align="center">v16.2+ </td>
1247-
<td align="center">v16.2+ </td>
1248-
<td align="center">v18.0+</td>
12491247
</tr>
12501248

12511249
</table>
@@ -1901,8 +1899,6 @@ readonly idPostfix: string;
19011899
<td align="center">v16.2+ </td>
19021900
<td align="center">v16.2+ </td>
19031901
<td align="center">v16.2+ </td>
1904-
<td align="center">v16.2+ </td>
1905-
<td align="center">v18.0+</td>
19061902
</tr>
19071903

19081904
</table>
@@ -2433,101 +2429,6 @@ When set to true, the index in the upper left corner of the viewer will be selec
24332429

24342430
---
24352431

2436-
## createTemplate
2437-
2438-
**Syntax**
2439-
2440-
<div class="sample-code-prefix template2"></div>
2441-
>- v17.3
2442-
>- v17.2.5
2443-
>
2444-
>
2445-
```typescript
2446-
/**
2447-
* Create document scanner template.
2448-
* @argument templateName Currently templateName only supports "documentScanner".
2449-
* @argument documentConfiguration Configuration for the document object.
2450-
*/
2451-
createTemplate("templateName", documentConfiguration?: DocumentConfiguration):DocumentViewerTemplate
2452-
interface DocumentViewerTemplate{
2453-
getCustomElement():CustomElement; //Get CustomElement. Can display save & upload interface in CustomElement.
2454-
onAddDocumentFunc = function () {}
2455-
onExitFunc = function () {}
2456-
onSaveFunc = function () {} //Save button click event
2457-
onUploadFunc = function () {} //Upload button click event
2458-
onRemoveSelectedFunc = function () {} //Remove button click event
2459-
}
2460-
```
2461-
```typescript
2462-
/**
2463-
* Create document scanner template.
2464-
* @argument templateName Currently templateName only supports "documentScanner".
2465-
*/
2466-
createTemplate("templateName"):DocumentViewerTemplate
2467-
interface DocumentViewerTemplate{
2468-
getCustomElement():CustomElement; //Get CustomElement. Can display save & upload interface in CustomElement.
2469-
onAddDocumentFunc = function () {}
2470-
onExitFunc = function () {}
2471-
onSaveFunc = function () {} //Save button click event
2472-
onUploadFunc = function () {} //Upload button click event
2473-
onRemoveSelectedFunc = function () {} //Remove button click event
2474-
}
2475-
```
2476-
2477-
**Availability**
2478-
<div class="availability">
2479-
<table>
2480-
2481-
<tr>
2482-
<td align="center">ActiveX</td>
2483-
<td align="center">H5(Windows)</td>
2484-
<td align="center">H5(macOS/TWAIN)</td>
2485-
<td align="center">H5(macOS/ICA)</td>
2486-
<td align="center">H5(Linux)</td>
2487-
</tr>
2488-
2489-
<tr>
2490-
<td align="center">not supported </td>
2491-
<td align="center">v17.3+ </td>
2492-
<td align="center">v17.3+ </td>
2493-
<td align="center">v17.3+ </td>
2494-
<td align="center">v17.3+ </td>
2495-
</tr>
2496-
2497-
</table>
2498-
</div>
2499-
2500-
**Example**
2501-
2502-
```javascript
2503-
var DWObject, template;
2504-
Dynamsoft.DWT.CreateDWTObjectEx(
2505-
{
2506-
WebTwainId: "a",
2507-
UseLocalService: false,
2508-
},
2509-
function (obj) {
2510-
DWObject = obj;
2511-
template = DWObject.Viewer.createTemplate("documentScanner");
2512-
DWObject.Viewer.bind(null, template); //full screen
2513-
DWObject.Viewer.show();
2514-
2515-
template.onExitFunc = function () {
2516-
DWObject.Viewer.show();
2517-
console.error ("execute");
2518-
//RemoveAllFile();
2519-
}
2520-
}, function (errorCode, errorString) {
2521-
console.log(errorString);
2522-
});
2523-
```
2524-
2525-
**Usage Notes**
2526-
2527-
For details on the DocumentConfiguration interface, please refer to the camera [scanDocument]({{site.info}}api/Addon_Camera.html#scandocument) API.
2528-
2529-
---
2530-
25312432
## updateCheckboxStyle
25322433

25332434
**Syntax**

0 commit comments

Comments
 (0)