🤖 Merge PR #47045 [dwt 16.1.1] Adding a few missing definitions by @Tom-Dynamsoft

* update to 16.1

* add back v12~v14

* fix wrong APIs

* fix grammar err

* adding a few missing definitions
This commit is contained in:
Tom Kent 2020-08-28 10:52:21 +08:00 committed by GitHub
parent 40b6cf3869
commit 9976729950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -384,6 +384,10 @@ export interface WebTwainEnv {
* Remove and destroy all WebTwain instances.
*/
Unload(): void;
/**
* Whether to download the wasm for Camera Addon to use on initialization.
*/
UseCameraAddonWasm: boolean;
/**
* Whether to use the library in Local-Service mode or WASM mode.
*/

View File

@ -212,7 +212,7 @@ export interface WebTwainBuffer extends WebTwainIO {
* [Deprecation] Return how many images are selected.
* [Alternative] Read the length of SelectedImagesIndices instead.
*/
readonly SelectedImagesCount: number;
SelectedImagesCount: number;
/**
* Return the indices of the selected images.
*/

View File

@ -123,6 +123,10 @@ export interface DynamsoftViewer {
name: string,
className: string
): boolean;
/**
* Return or set the margin between two images or the margin between one side of an image and the border of the viewer.
*/
imageMargin: number;
/**
* The mode of operation. Allowed values are 0(no selection, cursor is pointer), 1 (seleciton, cursor is crosshair)
*/