Skip to content

Commit ddaf737

Browse files
committed
preview
1 parent c9e3d1d commit ddaf737

File tree

3 files changed

+23
-8
lines changed

3 files changed

+23
-8
lines changed

info/api/Dynamsoft_WebTwainEnv.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,8 @@ interface Dynamsoft.DWT {
6262
Load(): void;
6363
Unload(): void;
6464
RemoveAllAuthorizations: function () {};
65-
OnWebTwainNotFound: function () {};
6665
OnWebTwainPostExecute: function () {};
6766
OnWebTwainPreExecute: function () {};
68-
OnWebTwainReady: function () {};
69-
OnWebTwainWillInit: function () {};
7067
}
7168

7269
/**
@@ -226,17 +223,13 @@ interface DWTInitialConfig {
226223
Initiates the library. If there are predefined `Containers` , one `WebTwain` instance will be created for each `Container` .
227224

228225
### `RegisterEvent()`
229-
226+
[We removed OnWebTWainReady...]: #
230227
Registers an environmental event. Typically the event is `OnWebTwainReady` which is triggered when the initialization completes.
231228

232229
### `Unload()`
233230

234231
Destroys all `WebTwain` instances and cuts off the connection to the Dynamsoft Service.
235232

236-
### `RemoveAllAuthorizations()`
237-
238-
Removes the specific authorizations made by end users on a client machine. Only effective when the security feature is enabled for local files, scanners or cameras.
239-
240233
### `UseDefaultViewer`
241234

242235
Whether to use the built-in viewer. If it is set to `false` , the file `dynamsoft.viewer.js` is not loaded at all and there is no way to add it back later. Therefore, only set it to `false` when you absolutely won't need the viewer or will be building your own viewer.
@@ -272,3 +265,11 @@ Specify the source of the loader bar image. Check out more on [HTMLImageElement.
272265
#### `loaderBarClassName`
273266

274267
Specify the class name of the DIV element that contains the loader bar. With this class, you can customize the loader bar even further with CSS.
268+
269+
#### `OnWebTwainReady`
270+
271+
A built-in callback triggered when the Web TWAIN environment is loaded
272+
273+
#### `OnWebTwainError`
274+
275+
A built-in callback triggered when the Web TWAIN environment cannot load

info/api/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ permalink: /info/api/
1717
|:-|:-|
1818
|[`Dynamsoft.DWT`]({{site.info}}api/Dynamsoft_WebTwainEnv.html) | [`Dynamsoft.DWT.Enum`]({{site.info}}api/Dynamsoft_Enum.html) |
1919

20+
### Events
21+
| |
22+
|:-|:-|
23+
|[`OnWebTwainReady`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#OnWebTwainReady)|[`OnWebTwainReady`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#OnWebTwainError)|
24+
2025
## WebTwain
2126

2227
### Buffer

info/schedule/deprecated.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ The prompts are one-time, once you accept the "risk", the software will install
3535

3636
The recommended fix is to patch the operating system, you can find the patch [here](http://www.catalog.update.microsoft.com/search.aspx?q=kb4474419).
3737

38+
## 18.2
39+
40+
### Dynamic Web TWAIN
41+
Removed:
42+
* RemoveAllAuthorizations: function () {};
43+
* OnWebTwainNotFound: function () {};
44+
* OnWebTwainReady: function () {};
45+
* OnWebTwainWillInit: function () {};
46+
3847
## 18.0
3948

4049
### Dynamic Web TWAIN

0 commit comments

Comments
 (0)