Dev Center
Scenario: For customers who are using Dynamic Web TWAIN, to change the location of the ‘Resources’ folder, or to rename it, please following the steps below:
Steps: In the below example we will assume the original Resources folder is located at ‘../{Project Directory}/Resources’, and you want to change it to ‘../{Project Directory}/Newfolder/ResourcesTest’.
<script src="Resources/dynamsoft.webtwain.initiate.js"></script>
// or your own operation js file
<script src="Scripts/DWTSample_BasicScan.js"></script>
<script src="Resources/dynamsoft.webtwain.config.js"></script>
Modify as below:
<script src="Newfolder/ResourcesTest/dynamsoft.webtwain.initiate.js"></script>
// or your own operation js file
<script src="Scripts/DWTSample_BasicScan.js"></script>
<script src="Newfolder/ResourcesTest/dynamsoft.webtwain.config.js"></script>
Dynamsoft.DWT.ResourcesPath = "Resources";
Modify as below:
Dynamsoft.DWT.ResourcesPath = "Newfolder/ResourcesTest";
latest version