You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After configuring the origins in the `DSConfiguration.ini` file, please set [`IfCheckCORS`](/_articles/info/api/Dynamsoft_WebTwainEnv.md#ifcheckcors) to `true` in `dynamsoft.webtwain.config.js`.
54
54
55
55
When a request comes from a different origin, a CORS error message will be displayed, both in a pop-up and in the console.
On a desktop, when a new user accesses a web page using Dynamic Web TWAIN SDK for the first time, he will be prompted to install the Dynamic Web TWAIN Service. This is a built-in behaviour of the library. The prompt will display the download link. Once the installer is downloaded, the installation process will take just a few seconds.
64
64
65
65
The prompt comes up when you try to [create a WebTwain instance](/_articles/extended-usage/advanced-initialization.md#instantiating-webtwain-without-onwebtwainready) in Service mode.
On **Windows and macOS**, double click the downloaded installer to install the service.
70
70
@@ -84,7 +84,7 @@ On **Linux**, instead of double clicking, the downloaded installer needs to be r
84
84
85
85
Once the installation is done, the users can click the orange sentence 'click here to verify completion' or refresh the page to start using Dynamic Web TWAIN.
Copy file name to clipboardExpand all lines: _articles/extended-usage/system-message-configuration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,6 +145,6 @@ The messages are grouped into categories:
145
145
146
146
The `Dynamsoft._show_install_dialog()` function defined in the `dynamsoft.webtwain.install.js` resource file generates the [Dynamic Web TWAIN Service](/_articles/faq/what-does-dynamsoft-service-do-on-end-user-machine.md) installation dialog box, pictured here:
As the dialog box contains instructions for installing the Dynamic Web TWAIN Service, consider altering the message strings for localization purposes. Generally we discourage directly modifying the resource files, but this dialogue function contains styling and messaging which may be tailored the web application itself. Try not to alter the platform detection logic too greatly, as this may interfere with the Dynamic Web TWAIN Service installation procedure. Please contact the [support team](/_articles/about/getsupport.md) for any further questions.
Copy file name to clipboardExpand all lines: _articles/extended-usage/ui-customization.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Generally speaking, most UI elements are configured in the file **dynamsoft.webt
15
15
16
16
## Installation Dialog
17
17
18
-

18
+

19
19
20
20
This dialog comes up when using `Dynamic Web TWAIN` scanner module under one of the following conditions:
21
21
@@ -28,7 +28,7 @@ If needing to disable the default dialog or come up with your own install dialog
28
28
29
29
### Loading bar and backdrop
30
30
31
-

31
+

32
32
33
33
This loading bar and backdrop shows up when creating a `WebTwain` instance or when you try to scan. The functions `Dynamsoft.DWT.OnWebTwainPreExecute()` and `Dynamsoft.DWT.OnWebTwainPostExecute()` are called before and after the process. You can customize the behavior like this
34
34
@@ -51,11 +51,11 @@ If you just want to change the loading bar, you can use the `Dynamsoft.DWT.Custo
51
51
52
52
When `Dynamic Web TWAIN` performs a time-consuming task, it'll show a progress bar. This progress bar is either like this
53
53
54
-

54
+

55
55
56
56
or like this (with a `Cancel` button)
57
57
58
-

58
+

59
59
60
60
The 1st bar shows up when saving, loading or converting and can be hidden by setting [`IfShowProgressBar`](/_articles/info/api/WebTwain_IO.md#ifshowprogressbar) to `false` .
Copy file name to clipboardExpand all lines: _articles/faq/activeX-in-Edge-IE-mode.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,11 +19,11 @@ Microsoft is <a href="https://www.microsoft.com/en-us/edge/business/ie-mode" tar
19
19
20
20
1. Update Edge Default Browser settings per the screenshot:
21
21
22
-

22
+

23
23
24
24
2. Download and install <ahref="https://www.microsoft.com/en-us/download/details.aspx?id=49974"target="_blank">Enterprise Mode Site List Manager</a> to <ahref="https://docs.microsoft.com/en-us/internet-explorer/ie11-deploy-guide/add-single-sites-to-enterprise-mode-site-list-using-the-version-2-enterprise-mode-tool"target="_blank">add</a> and <ahref="https://docs.microsoft.com/en-us/internet-explorer/ie11-deploy-guide/export-your-enterprise-mode-site-list-from-the-enterprise-mode-site-list-manager"target="_blank">export</a> a site list to a XML file.
25
25
26
-

26
+

27
27
28
28
3. <ahref="https://docs.microsoft.com/en-us/internet-explorer/ie11-deploy-guide/turn-on-enterprise-mode-and-use-a-site-list"target="_blank">Turn on Enterprise Mode using Group Policy</a>
For the Dynamic Web TWAIN Service (also called "Dynamsoft Service") installation message below, you can customize the display language by searching for `Dynamsoft._show_install_dialog` in dynamsoft.webtwain.install.js, and changing the display language accordingly.
And you can test the API as much as you want. Let's take the [ConvertToBase64](https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_IO.html#converttobase64) as an example. After you input the code into the console and press Enter to run this code snippet, it will convert the image at index 0 in the buffer (that is, the first image) into a Base64 string.
Now that you've had the opportunity to preview how the DWT API operates in the web application, you can explore more features by reviewing the [API documentation]({{site.info}}api/).
Copy file name to clipboardExpand all lines: _articles/faq/deploy-your-own-upload-server-with-asp.net.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Please select your frontend language:
29
29
30
30
This article assumes that you have downloaded and unzipped this sample: <ahref="https://download2.dynamsoft.com/Samples/DWT_OnlineDemo/DynamicWebTWAIN-JavaScript.zip">DynamicWebTWAIN-JavaScript.zip</a>. After unzipping it, the directory structure is shown in the image below.
<p>Note: The "Sample" directory mentioned in the steps below refers to the "Sample" directory shown in the image.</p>
35
35
@@ -84,7 +84,7 @@ function onUploadFailure(errorCode, errorString, sHttpResponse) {
84
84
85
85
This article assumes that you have downloaded and unzipped this sample: <ahref="https://download2.dynamsoft.com/Samples/DWT_OnlineDemo/DynamicWebTWAIN-Angular.zip">DynamicWebTWAIN-Angular.zip</a>. After unzipping it, the directory structure is shown in the image below.
86
86
87
-

87
+

88
88
89
89
<p>Note: The "Sample" directory mentioned in the steps below refers to the "Sample" directory shown in the image.</p>
90
90
@@ -161,7 +161,7 @@ This article assumes that you have downloaded and unzipped this sample: <a href=
161
161
162
162
This article assumes that you have downloaded and unzipped this sample: <ahref="https://download2.dynamsoft.com/Samples/DWT_OnlineDemo/DynamicWebTWAIN-React-JavaScript.zip">DynamicWebTWAIN-React-JavaScript.zip</a>. After unzipping it, the directory structure is shown in the image below.
163
163
164
-

164
+

165
165
166
166
<p>Note: The "Sample" directory mentioned in the steps below refers to the "Sample" directory shown in the image.</p>
167
167
@@ -238,7 +238,7 @@ This article assumes that you have downloaded and unzipped this sample: <a href=
238
238
239
239
This article assumes that you have downloaded and unzipped this sample: <ahref="https://download2.dynamsoft.com/Samples/DWT_OnlineDemo/DynamicWebTWAIN-React-TypeScript.zip">DynamicWebTWAIN-React-TypeScript.zip</a>. After unzipping it, the directory structure is shown in the image below.
<p>Note: The "Sample" directory mentioned in the steps below refers to the "Sample" directory shown in the image.</p>
244
244
@@ -315,7 +315,7 @@ This article assumes that you have downloaded and unzipped this sample: <a href=
315
315
316
316
This article assumes that you have downloaded and unzipped this sample: <ahref="https://download2.dynamsoft.com/Samples/DWT_OnlineDemo/DynamicWebTWAIN-Vue-JavaScript.zip">DynamicWebTWAIN-Vue-JavaScript.zip</a>. After unzipping it, the directory structure is shown in the image below.
317
317
318
-

318
+

319
319
320
320
<p>Note: The "Sample" directory mentioned in the steps below refers to the "Sample" directory shown in the image.</p>
321
321
@@ -392,7 +392,7 @@ This article assumes that you have downloaded and unzipped this sample: <a href=
392
392
393
393
This article assumes that you have downloaded and unzipped this sample: <ahref="https://download2.dynamsoft.com/Samples/DWT_OnlineDemo/DynamicWebTWAIN-Vue-TypeScript.zip">DynamicWebTWAIN-Vue-TypeScript.zip</a>. After unzipping it, the directory structure is shown in the image below.
Copy file name to clipboardExpand all lines: _articles/faq/deploy-your-own-upload-server-with-jsp.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Please select your frontend language:
29
29
30
30
This article assumes that you have downloaded and unzipped this sample: <ahref="https://download2.dynamsoft.com/Samples/DWT_OnlineDemo/DynamicWebTWAIN-JavaScript.zip">DynamicWebTWAIN-JavaScript.zip</a>. After unzipping it, the directory structure is shown in the image below.
<p>Note: The "Sample" directory mentioned in the steps below refers to the "Sample" directory shown in the image.</p>
35
35
@@ -88,7 +88,7 @@ For example, if you are using Tomcat 10.1.16, copy it to "{Tomcat-installed
88
88
89
89
This article assumes that you have downloaded and unzipped this sample: <ahref="https://download2.dynamsoft.com/Samples/DWT_OnlineDemo/DynamicWebTWAIN-Angular.zip">DynamicWebTWAIN-Angular.zip</a>. After unzipping it, the directory structure is shown in the image below.
90
90
91
-

91
+

92
92
93
93
<p>Note: The "Sample" directory mentioned in the steps below refers to the "Sample" directory shown in the image.</p>
94
94
@@ -168,7 +168,7 @@ For example, if you are using Tomcat 10.1.16, copy it to "{Tomcat-installed
168
168
169
169
This article assumes that you have downloaded and unzipped this sample: <ahref="https://download2.dynamsoft.com/Samples/DWT_OnlineDemo/DynamicWebTWAIN-React-JavaScript.zip">DynamicWebTWAIN-React-JavaScript.zip</a>. After unzipping it, the directory structure is shown in the image below.
170
170
171
-

171
+

172
172
173
173
<p>Note: The "Sample" directory mentioned in the steps below refers to the "Sample" directory shown in the image.</p>
174
174
@@ -248,7 +248,7 @@ For example, if you are using Tomcat 10.1.16, copy it to "{Tomcat-installed
248
248
249
249
This article assumes that you have downloaded and unzipped this sample: <ahref="https://download2.dynamsoft.com/Samples/DWT_OnlineDemo/DynamicWebTWAIN-React-TypeScript.zip">DynamicWebTWAIN-React-TypeScript.zip</a>. After unzipping it, the directory structure is shown in the image below.
<p>Note: The "Sample" directory mentioned in the steps below refers to the "Sample" directory shown in the image.</p>
254
254
@@ -328,7 +328,7 @@ For example, if you are using Tomcat 10.1.16, copy it to "{Tomcat-installed
328
328
329
329
This article assumes that you have downloaded and unzipped this sample: <ahref="https://download2.dynamsoft.com/Samples/DWT_OnlineDemo/DynamicWebTWAIN-Vue-JavaScript.zip">DynamicWebTWAIN-Vue-JavaScript.zip</a>. After unzipping it, the directory structure is shown in the image below.
330
330
331
-

331
+

332
332
333
333
<p>Note: The "Sample" directory mentioned in the steps below refers to the "Sample" directory shown in the image.</p>
334
334
@@ -408,7 +408,7 @@ For example, if you are using Tomcat 10.1.16, copy it to "{Tomcat-installed
408
408
409
409
This article assumes that you have downloaded and unzipped this sample: <ahref="https://download2.dynamsoft.com/Samples/DWT_OnlineDemo/DynamicWebTWAIN-Vue-TypeScript.zip">DynamicWebTWAIN-Vue-TypeScript.zip</a>. After unzipping it, the directory structure is shown in the image below.
0 commit comments