Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion faq/HTTP-process-error.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permalink: /faq/HTTP-process-error.html

### Symptom

When attempting to upload images using any of the HTTPUploadThroughPost\*\*\* methods the upload fails and you receive this error.
When attempting to upload images using any of the HTTPUpload\*\*\* methods the upload fails and you receive this error.

### Cause

Expand Down
52 changes: 26 additions & 26 deletions info/api/Dynamsoft_FileUploader.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ Init(
<div class="availability"></div>

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

**Usage notes**

Expand Down Expand Up @@ -178,8 +178,8 @@ interface FormField {
<div class="availability"></div>

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

---

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

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

---

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

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

---

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

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

---

Expand Down Expand Up @@ -307,8 +307,8 @@ GenerateURLForUploadData(
<div class="availability"></div>

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

**Example**

Expand Down Expand Up @@ -358,8 +358,8 @@ ServerUrl: string;
<div class="availability"></div>

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

---

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

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

**Usage notes**

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

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

**Usage notes**

Expand Down Expand Up @@ -435,8 +435,8 @@ FormField: object;
<div class="availability"></div>

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

**Usage notes**

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

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

**Example**

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

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

**Example**

Expand Down Expand Up @@ -538,8 +538,8 @@ errorString: string
<div class="availability"></div>

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

**Example**

Expand Down
5 changes: 1 addition & 4 deletions info/api/WebTwain_Edit.md
Original file line number Diff line number Diff line change
Expand Up @@ -1050,19 +1050,16 @@ CutToClipboard(index: number): boolean;
</tr>

<tr>
<>
align="center">v4.0+ </td>
<td align="center">v4.0+ </td>
<td align="center">v10.0+ </td>
<td align="center">v11.0+ </td>
<td align="center">v11.0+ </td>
<td align="center">v12.1+ </td>
<td align="center">not supported </td>
</tr>

</table>
</div>


---

## CropToClipboard
Expand Down
99 changes: 0 additions & 99 deletions info/api/WebTwain_Viewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1244,8 +1244,6 @@ previous(): number;
<td align="center">v16.2+ </td>
<td align="center">v16.2+ </td>
<td align="center">v16.2+ </td>
<td align="center">v16.2+ </td>
<td align="center">v18.0+</td>
</tr>

</table>
Expand Down Expand Up @@ -1901,8 +1899,6 @@ readonly idPostfix: string;
<td align="center">v16.2+ </td>
<td align="center">v16.2+ </td>
<td align="center">v16.2+ </td>
<td align="center">v16.2+ </td>
<td align="center">v18.0+</td>
</tr>

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

---

## createTemplate

**Syntax**

<div class="sample-code-prefix template2"></div>
>- v17.3
>- v17.2.5
>
>
```typescript
/**
* Create document scanner template.
* @argument templateName Currently templateName only supports "documentScanner".
* @argument documentConfiguration Configuration for the document object.
*/
createTemplate("templateName", documentConfiguration?: DocumentConfiguration):DocumentViewerTemplate
interface DocumentViewerTemplate{
getCustomElement():CustomElement; //Get CustomElement. Can display save & upload interface in CustomElement.
onAddDocumentFunc = function () {}
onExitFunc = function () {}
onSaveFunc = function () {} //Save button click event
onUploadFunc = function () {} //Upload button click event
onRemoveSelectedFunc = function () {} //Remove button click event
}
```
```typescript
/**
* Create document scanner template.
* @argument templateName Currently templateName only supports "documentScanner".
*/
createTemplate("templateName"):DocumentViewerTemplate
interface DocumentViewerTemplate{
getCustomElement():CustomElement; //Get CustomElement. Can display save & upload interface in CustomElement.
onAddDocumentFunc = function () {}
onExitFunc = function () {}
onSaveFunc = function () {} //Save button click event
onUploadFunc = function () {} //Upload button click event
onRemoveSelectedFunc = function () {} //Remove button click event
}
```

**Availability**
<div class="availability">
<table>

<tr>
<td align="center">ActiveX</td>
<td align="center">H5(Windows)</td>
<td align="center">H5(macOS/TWAIN)</td>
<td align="center">H5(macOS/ICA)</td>
<td align="center">H5(Linux)</td>
</tr>

<tr>
<td align="center">not supported </td>
<td align="center">v17.3+ </td>
<td align="center">v17.3+ </td>
<td align="center">v17.3+ </td>
<td align="center">v17.3+ </td>
</tr>

</table>
</div>

**Example**

```javascript
var DWObject, template;
Dynamsoft.DWT.CreateDWTObjectEx(
{
WebTwainId: "a",
UseLocalService: false,
},
function (obj) {
DWObject = obj;
template = DWObject.Viewer.createTemplate("documentScanner");
DWObject.Viewer.bind(null, template); //full screen
DWObject.Viewer.show();

template.onExitFunc = function () {
DWObject.Viewer.show();
console.error ("execute");
//RemoveAllFile();
}
}, function (errorCode, errorString) {
console.log(errorString);
});
```

**Usage Notes**

For details on the DocumentConfiguration interface, please refer to the camera [scanDocument]({{site.info}}api/Addon_Camera.html#scandocument) API.

---

## updateCheckboxStyle

**Syntax**
Expand Down
2 changes: 1 addition & 1 deletion info/schedule/Stable.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The following table gives a quick comparison between the two editions.

NOTE:

Plus Edition is a temporary edition as it's enhanced features will be separated into another SDK product in around June 2023. Due to the upcoming change, the Plus Edition is not available to download from the public website. If you want to access the Plus Edition now, please send a request to [support@dynamsoft.com](mailto:support@dynamsoft.com).
Plus Edition is a temporary edition as its enhanced features will be separated into another SDK product in around June 2023. Due to the upcoming change, the Plus Edition is not available to download from the public website. If you want to access the Plus Edition now, please send a request to [support@dynamsoft.com](mailto:support@dynamsoft.com).


## 18.0 (12/22/2022)
Expand Down