Skip to content

Commit ba9c3e7

Browse files
update to internal commit 91555422
1 parent e273db9 commit ba9c3e7

File tree

14 files changed

+46
-42
lines changed

14 files changed

+46
-42
lines changed

_articles/extended-usage/buffer-caching.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ var storageItemUid = await DWTObject.createLocalStorage(folderSettings);
4848

4949
Please ensure to set a strong password to enhance data security, especially in multi-user login scenarios.
5050

51-
The local directory of the created storage folder is under
52-
- Windows: `C:\Program Files (x86)\Dynamsoft\Dynamic Web TWAIN Service {versionnumber}\storage`(version 18.5.1 and earlier `C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64_{versionnumber}\storage`)
53-
- macOS: `Go > Applications > Dynamsoft > Dynamic Web TWAIN Service {versionnumber} > storage`(version 18.5.1 and earlier `Go > Applications > Dynamsoft > DynamsoftServicex64_{versionnumber} > {installed version No.} > storage`)
54-
- Linux: `/opt/dynamsoft/Dynamic Web TWAIN Service {versionnumber}/storage`(version 18.5.1 and earlier `/opt/dynamsoft/DynamsoftService/storage`)
51+
The local directory of the created storage folder is under the service's [intallation folder](/_articles/extended-usage/dynamsoft-service-configuration.md#installation-folder).
5552

5653
**Save image caches**
5754

_articles/extended-usage/dynamsoft-service-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Screenshots:
120120

121121
![external access setup](/assets/imgs/service-web-setup/external-access-setup.jpg)
122122

123-
On the left of the page, you can check the service's status and update the [`LogLevel`](/_articles/info/api/WebTwain_Util.md#loglevel)
123+
On the left of the page, you can check the service's status and update the [`LogLevel`](/_articles/info/api/WebTwain_Util.md#loglevel).
124124

125125
On the right of the page, you can configure the service through the local access tab and the external access tab.
126126

_articles/faq/dwt-with-annotation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Deliver the SDK dependencies with either the [jsDelivr](https://jsdelivr.com/) o
3434

3535
```html
3636
<!--Dynamic Web TWAIN-->
37-
<script src="https://cdn.jsdelivr.net/npm/dwt@19.1.0/dist/dynamsoft.webtwain.min.js"></script>
37+
<script src="https://cdn.jsdelivr.net/npm/dwt@19.2.0/dist/dynamsoft.webtwain.min.js"></script>
3838
<!--Dynamsoft Document Viewer-->
3939
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ddv.js"></script>
4040
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/ddv.css">
@@ -44,7 +44,7 @@ Deliver the SDK dependencies with either the [jsDelivr](https://jsdelivr.com/) o
4444

4545
```html
4646
<!--Dynamic Web TWAIN-->
47-
<script src="https://unpkg.com/dwt@19.1.0/dist/dynamsoft.webtwain.min.js"></script>
47+
<script src="https://unpkg.com/dwt@19.2.0/dist/dynamsoft.webtwain.min.js"></script>
4848
<!--Dynamsoft Document Viewer-->
4949
<script src="https://unpkg.com/[email protected]/dist/ddv.js"></script>
5050
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/ddv.css">
@@ -120,7 +120,7 @@ API Reference
120120
// You can request a 30-day trial key from https://www.dynamsoft.com/customer/license/trialLicense/?product=dwtddv
121121
Dynamsoft.DWT.ProductKey = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9";
122122
Dynamsoft.DWT.UseDefaultViewer = false;
123-
Dynamsoft.DWT.ResourcesPath = "https://cdn.jsdelivr.net/npm/dwt@19.1.0/dist";
123+
Dynamsoft.DWT.ResourcesPath = "https://cdn.jsdelivr.net/npm/dwt@19.2.0/dist";
124124
// You need to set the service installer location here since the installer's size exceeds jsdelivr's limit. You'd better host the installers in your own environment.
125125
Dynamsoft.DWT.ServiceInstallerLocation = 'https://download2.dynamsoft.com/Demo/DWT/Resources/dist/';
126126

@@ -279,7 +279,7 @@ API Reference
279279
<html>
280280
<head>
281281
<title>HelloWorld</title>
282-
<script src=" https://cdn.jsdelivr.net/npm/dwt@19.1.0/dist/dynamsoft.webtwain.min.js"></script>
282+
<script src=" https://cdn.jsdelivr.net/npm/dwt@19.2.0/dist/dynamsoft.webtwain.min.js"></script>
283283
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ddv.js"></script>
284284
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/ddv.css">
285285
</head>
@@ -316,7 +316,7 @@ let DWObject, editViewer, ddvDoc;
316316
// Create Dynamic Web TWAIN object
317317
Dynamsoft.DWT.ProductKey = license;
318318
Dynamsoft.DWT.UseDefaultViewer = false;
319-
Dynamsoft.DWT.ResourcesPath = "https://cdn.jsdelivr.net/npm/dwt@19.1.0/dist";
319+
Dynamsoft.DWT.ResourcesPath = "https://cdn.jsdelivr.net/npm/dwt@19.2.0/dist";
320320
// You need to set the service installer location here since the installer's size exceeds jsdelivr's limit. You'd better host the installers in your own environment.
321321
Dynamsoft.DWT.ServiceInstallerLocation = 'https://download2.dynamsoft.com/Demo/DWT/Resources/dist/';
322322

_articles/general-usage/resource-loading.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The official SDK installers store the installers under the `/dist` directory, an
2121

2222
The official [DWT installer](https://www.dynamsoft.com/web-twain/downloads) installs the SDK with a 30-day free trial (license key included), and contains the resource scripts, along with SDK documentation, and samples. This method is useful for developers to quickly evaluate the SDK. The resource files may be obtained from the following locations after installation:
2323

24-
- On Windows: `C:\Program Files (x86)\Dynamsoft\Dynamic WebTWAIN SDK {version number}/Resources`
24+
- On Windows: `C:\Program Files (x86)\Dynamsoft\Dynamic WebTWAIN SDK {version number}\Resources`
2525
- On Linux: Where you extracted the SDK archive file to - `{extracted directory}/Dynamic Web TWAIN SDK {version number}/Resources`
2626
- On MacOS: `/Applications/Dynamsoft/Dynamic Web TWAIN SDK {version number}/Resources`
2727

@@ -95,6 +95,7 @@ Note that jsDelivr currently has problems delivering the Dynamic Web TWAIN Servi
9595
<script>
9696
Dynamsoft.DWT.ResourcesPath = "https://cdn.jsdelivr.net/npm/dwt@latest/dist"; // Load supporting resources from here
9797
Dynamsoft.DWT.ProductKey = ""; // Add product key here
98+
Dynamsoft.DWT.ServiceInstallerLocation = 'https://unpkg.com/dwt/dist/dist/'; // Set the service installers' location
9899
</script>
99100
</body>
100101
</html>

_articles/indepth/development/angular.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ng new dwt-angular
2828
### **cd** to the root directory of the application and install the dependencies
2929

3030
``` cmd
31-
npm install dwt@19.1.0
31+
npm install dwt@19.2.0
3232
```
3333

3434
## Configure the project

_articles/indepth/development/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ npm install
4040
```
4141

4242
``` cmd
43-
npm install dwt@19.1.0 ncp
43+
npm install dwt@19.2.0 ncp
4444
```
4545

4646
> `ncp` is used to copy static resources files.

_articles/indepth/development/vue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ vue create dwt-vue
3333
### Navigate to the root directory of the application and install the `dwt` and `ncp` package
3434

3535
``` cmd
36-
yarn add dwt@19.1.0
36+
yarn add dwt@19.2.0
3737
```
3838

3939
``` cmd
@@ -232,7 +232,7 @@ npm install
232232
```
233233

234234
``` cmd
235-
npm install dwt@19.1.0
235+
npm install dwt@19.2.0
236236
```
237237

238238
``` cmd

_articles/info/api/Addon_Webcam.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ description: Dynamic Web TWAIN SDK Documentation API Reference Webcam Addon APIs
1313
1414
**Methods**
1515

16-
| [`CaptureImage()`](#captureimage) | [`OpenSource()`](#opensource) | [`CloseSource()`](#closesource) | [`GetCameraControlPropertySetting()`](#getcameracontrolpropertysetting) |
17-
| [`GetCameraControlPropertyMoreSetting()`](#getcameracontrolpropertymoresetting) | [`GetVideoPropertySetting()`](#getvideopropertysetting) | [`GetVideoPropertyMoreSetting()`](#getvideopropertymoresetting) | [`SetCameraControlPropertySetting()`](#setcameracontrolpropertysetting) |
18-
| [`SetVideoPropertySetting()`](#setvideopropertysetting) | [`GetFrameRate()`](#getframerate) | [`SetFrameRate()`](#setframerate) | [`GetMediaType()`](#getmediatype) |
19-
| [`SetMediaType()`](#setmediatype) | [`GetResolution()`](#getresolution) | [`SetResolution()`](#setresolution) | [`GetFramePartURL()`](#getframeparturl) |
20-
| [`GetFrameURL()`](#getframeurl) | [`GetSourceList()`](#getsourcelist) | [`SelectSource()`](#selectsource) | [`PauseVideo()`](#pausevideo) |
21-
| [`PlayVideo()`](#playvideo) | [`SetVideoRotateMode()`](#setvideorotatemode) | [`StopVideo()`](#stopvideo) | |
16+
| [`CaptureImage()`](#captureimage) | [`CloseSource()`](#closesource) | [`GetCameraControlPropertySetting()`](#getcameracontrolpropertysetting) | [`GetCameraControlPropertyMoreSetting()`](#getcameracontrolpropertymoresetting) |
17+
| [`GetVideoPropertySetting()`](#getvideopropertysetting) | [`GetVideoPropertyMoreSetting()`](#getvideopropertymoresetting) | [`SetCameraControlPropertySetting()`](#setcameracontrolpropertysetting) | [`SetVideoPropertySetting()`](#setvideopropertysetting) |
18+
| [`GetFrameRate()`](#getframerate) | [`SetFrameRate()`](#setframerate) | [`GetMediaType()`](#getmediatype) | [`SetMediaType()`](#setmediatype) |
19+
| [`GetResolution()`](#getresolution) | [`SetResolution()`](#setresolution) | [`GetFramePartURL()`](#getframeparturl) | [`GetFrameURL()`](#getframeurl) |
20+
| [`GetSourceList()`](#getsourcelist) | [`SelectSource()`](#selectsource) | [`PauseVideo()`](#pausevideo) | [`PlayVideo()`](#playvideo) |
21+
| [`SetVideoRotateMode()`](#setvideorotatemode) | [`StopVideo()`](#stopvideo) | | |
2222

2323
## CaptureImage()
2424

_articles/info/api/WebTwain_IO.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3554,7 +3554,7 @@ ShowFileDialog(
35543554

35553555
`allowMultiSelect`: Whether or not multiple files can be selected at the same time. Only valid in an open-file dialog.
35563556

3557-
`showOverwritePrompt`: Whether to display a prompt if saving a file which would overwrite an existing file.
3557+
`showOverwritePrompt`: Whether to display a prompt if saving a file which would overwrite an existing file (only valid for Windows).
35583558

35593559
`flag`: If set to 0, `allowMultiSelect` and `showOverwritePrompt` take effect. Otherwise, ignore those two parameters.
35603560

@@ -3749,10 +3749,7 @@ A Promise object which will be resolved with the uid string which will be used a
37493749
**Usage notes**
37503750

37513751
- If `password` is not specified, the returned `uid` string will be set as the password of the storage folder.
3752-
- The local directory of the created storage folder is under
3753-
- Windows: `C:\Program Files (x86)\Dynamsoft\Dynamic Web TWAIN Service {versionnumber}\storage`(version 18.5.1 and earlier `C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64_{versionnumber}\storage`)
3754-
- macOS: `Go > Applications > Dynamsoft > Dynamic Web TWAIN Service {versionnumber} > storage`(version 18.5.1 and earlier `Go > Applications > Dynamsoft > DynamsoftServicex64_{versionnumber} > {installed version No.} > storage`)
3755-
- Linux: `/opt/dynamsoft/Dynamic Web TWAIN Service {versionnumber}/storage`(version 18.5.1 and earlier `/opt/dynamsoft/DynamsoftService/storage`)
3752+
- The local directory of the created storage folder is under the service's [installation folder](/_articles/extended-usage/dynamsoft-service-configuration.md#installation-folder).
37563753
- The creation will not be successful, if the remaining disk space is less than
37573754

37583755
| System | Remaining Disk Space |

_articles/info/api/WebTwain_Util.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,7 @@ LogLevel: number;
340340

341341
**Usage notes**
342342

343-
The logs for the Dynamic Web TWAIN library are saved in the directory:
344-
345-
- Windows `C:\Program Files (x86)\Dynamsoft\Dynamic Web TWAIN Service {versionnumber}\log`(version 18.5.1 and earlier `C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64_{versionnumber}\log`) or `C:\Users\{UserName}\AppData\Roaming\Dynamsoft\Dynamic Web TWAIN Service\log`(version 18.5.1 and earlier `C:\Users\{UserName}\AppData\Roaming\Dynamsoft\DynamsoftService\log`)
346-
- macOS, `Go > Applications > Dynamsoft > Dynamic Web TWAIN Service {versionnumber} > log`(version 18.5.1 and earlier `Go > Applications > Dynamsoft > DynamsoftServicex64_{versionnumber} > {installed version No.} > log`)
347-
- Linux: `/opt/dynamsoft/Dynamic Web TWAIN Service {versionnumber}/log`(version 18.5.1 and earlier `/opt/dynamsoft/DynamsoftService/log`)
343+
The logs for the Dynamic Web TWAIN library are saved in the `log` folder under its [installation folder](/_articles/extended-usage/dynamsoft-service-configuration.md#installation-folder).
348344

349345
By default, `LogLevel` is 0 and nothing is recorded. When it is set to 1, all debugging information is recorded. This setting in your application will apply to all machines. Please set it back to 0 if you don't need to record log as it will slow down the speed.
350346

0 commit comments

Comments
 (0)