mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
🤖 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:
parent
40b6cf3869
commit
9976729950
4
types/dwt/Dynamsoft.d.ts
vendored
4
types/dwt/Dynamsoft.d.ts
vendored
@ -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.
|
||||
*/
|
||||
|
||||
2
types/dwt/WebTwain.Buffer.d.ts
vendored
2
types/dwt/WebTwain.Buffer.d.ts
vendored
@ -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.
|
||||
*/
|
||||
|
||||
4
types/dwt/WebTwain.Viewer.d.ts
vendored
4
types/dwt/WebTwain.Viewer.d.ts
vendored
@ -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)
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user