dwt 17.2.1 → 17.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +35 -24
  2. package/dist/addon/dbrjs/dbr-8.6.1.full.wasm.js +134 -134
  3. package/dist/addon/dbrjs/dbr-8.6.1.worker.js +113 -113
  4. package/dist/addon/dbrjs/dbr.js +10 -10
  5. package/dist/dist/DynamsoftServiceSetup-arm64.deb +0 -0
  6. package/dist/dist/DynamsoftServiceSetup-mips64el.deb +0 -0
  7. package/dist/dist/DynamsoftServiceSetup.deb +0 -0
  8. package/dist/dist/DynamsoftServiceSetup.msi +0 -0
  9. package/dist/dist/DynamsoftServiceSetup.pkg +0 -0
  10. package/dist/dist/DynamsoftServiceSetup.rpm +0 -0
  11. package/dist/dynamsoft.webtwain.min.js +268 -267
  12. package/dist/dynamsoft.webtwain.min.mjs +270 -269
  13. package/dist/src/dynamsoft.imageio_wasm-1.7.2.js +105 -105
  14. package/dist/src/dynamsoft.lts.js +34 -11
  15. package/dist/src/dynamsoft.pdfReader_wasm-1.7.2.js +80 -80
  16. package/dist/src/dynamsoft.viewer.css +3 -3
  17. package/dist/src/dynamsoft.viewer.js +2 -2
  18. package/dist/src/dynamsoft.webtwain.css +11 -9
  19. package/dist/src/fastcomp/dynamsoft.imageio_wasm-1.7.2.js +105 -105
  20. package/dist/types/Addon.Camera.d.ts +8 -8
  21. package/dist/types/Addon.PDF.d.ts +20 -11
  22. package/dist/types/Dynamsoft.d.ts +6 -6
  23. package/dist/types/WebTwain.Acquire.d.ts +26 -16
  24. package/dist/types/WebTwain.Buffer.d.ts +17 -3
  25. package/dist/types/WebTwain.IO.d.ts +1 -1
  26. package/dist/types/WebTwain.Util.d.ts +1 -1
  27. package/dist/types/WebTwain.Viewer.d.ts +4 -4
  28. package/dist/types/tsconfig.json +0 -1
  29. package/package.json +1 -1
  30. package/samples/1.AcquireImage.html +1 -1
  31. package/samples/10.ScanOrCapture.html +1 -1
  32. package/samples/11.mobilebrowsercapture.html +2 -1
  33. package/samples/2.CustomScan.html +1 -1
  34. package/samples/3.LoadAndSaveImages.html +1 -1
  35. package/samples/4.PDFRasterizer.html +1 -1
  36. package/samples/5.Edit.html +1 -1
  37. package/samples/6.Navigation.html +1 -1
  38. package/samples/7.Thumbnail.html +1 -1
  39. package/samples/8.OCRADocument.html +1 -1
  40. package/samples/9.ReadBarcode.html +1 -1
@@ -88,15 +88,15 @@ export interface Camera {
88
88
  closeVideo(): void;
89
89
  /**
90
90
  * Specify an event listener for the specified built-in viewer event.
91
- * @param name Specify the event name.
91
+ * @param eventName Specify the event name.
92
92
  * @param callback The event listener.
93
93
  */
94
- on(name: string, callback: (event?: any, event1?: any, event2?: any) => void): void;
94
+ on(eventName: string, callback: (...param: any[]) => void): void;
95
95
  /**
96
96
  * Remove a built-in viewer event handler.
97
97
  * @param eventName Specify the event name.
98
98
  */
99
- off(eventName: string, callback?: (event: ViewerEvent) => void): boolean;
99
+ off(eventName: string, callback?: (...param: any[]) => void): void;
100
100
  }
101
101
  export interface DeviceInfo {
102
102
  deviceId: string;
@@ -177,11 +177,11 @@ export interface ScanConfiguration {
177
177
  visibility?: boolean; //Whether to display the load local file icon. The default value is true.
178
178
  };
179
179
 
180
- funcConfirmExitContinuousScan?: (bExistImage: boolean) => void;
180
+ funcConfirmExitContinuousScan?: (bExistImage: boolean) => boolean;
181
181
  //funcConfirmExitContinuousScan is the callback funtion
182
182
  //Return true:Exit continuous scan mode without saving the captured image data. Return false: Stay on the original viewer
183
183
 
184
- funcConfirmExit?: (bExistImage: boolean) => void;
184
+ funcConfirmExit?: (bExistImage: boolean) => boolean;
185
185
  //funcConfirmExit is the callback funtion,
186
186
  //Return true:End this capture without saving the image data. Return false: Stay on the original viewer
187
187
  };
@@ -202,12 +202,12 @@ export interface ScanConfiguration {
202
202
  visibility?: boolean; //Whether to display the rotate left icon. The default value is true.
203
203
  };
204
204
 
205
- filter?: {
206
- visibility?: boolean; //Whether to display the filter icon. The default value is true.
205
+ filter?: {
206
+ visibility?: boolean; //Whether to display the filter icon. The default value is true.
207
207
  valueList?:any;
208
208
  defaultValue?: string; //Filter selected by default. By default, the original filter is selected.
209
209
  };
210
- exitDocumentScanAfterSave: boolean; //The default value is false.
210
+ exitDocumentScanAfterSave?: boolean; //The default value is false.
211
211
  };
212
212
 
213
213
  cropViewer?: {
@@ -62,49 +62,58 @@ export interface PDFWSetting {
62
62
  /**
63
63
  * Specify the author.
64
64
  */
65
- author: string;
65
+ author?: string;
66
66
  /**
67
67
  * Specify the compression type.
68
68
  */
69
- compression: DynamsoftEnumsDWT.EnumDWT_PDFCompressionType | number;
69
+ compression?: DynamsoftEnumsDWT.EnumDWT_PDFCompressionType | number;
70
70
  /**
71
+ * Specify the page type.
72
+ * 0: page width&height decided by image
73
+ * 2: A4
74
+ * 4: A3
75
+ * 6: Letter
76
+ * 8: Legal
77
+ */
78
+ pageType?: number;
79
+ /**
71
80
  * Specify the creator.
72
81
  */
73
- creator: string;
82
+ creator?: string;
74
83
  /**
75
84
  * Specify the creation date.
76
85
  * Note that the argument should start with 'D:' like 'D:20181231'.
77
86
  */
78
- creationDate: string;
87
+ creationDate?: string;
79
88
  /**
80
89
  * Specify the key words.
81
90
  */
82
- keyWords: string;
91
+ keyWords?: string;
83
92
  /**
84
93
  * Specify the modified date.
85
94
  * Note that the argument should start with 'D:' like 'D:20181231'.
86
95
  */
87
- modifiedDate: string;
96
+ modifiedDate?: string;
88
97
  /**
89
98
  * Specify the producer.
90
99
  */
91
- producer: string;
100
+ producer?: string;
92
101
  /**
93
102
  * Specify the subject.
94
103
  */
95
- subject: string;
104
+ subject?: string;
96
105
  /**
97
106
  * Specify the title.
98
107
  */
99
- title: string;
108
+ title?: string;
100
109
  /**
101
110
  * Specify the PDF version. For example, '1.5'.
102
111
  */
103
- version: string;
112
+ version?: string;
104
113
  /**
105
114
  * Specify the quality of the images in the file.
106
115
  * The value ranges from 0 to 100.
107
116
  * Only valid when the {compression} is 'JPEG' or 'JPEG2000'.
108
117
  */
109
- quality: number;
118
+ quality?: number;
110
119
  }
@@ -333,23 +333,23 @@ export interface DWTPro {
333
333
  /**
334
334
  * A callback function that is executed when the WebTwain related files are not found.
335
335
  */
336
- OnWebTwainNotFound: () => {};
336
+ OnWebTwainNotFound: () => void;
337
337
  /**
338
338
  * A callback function that is executed after a time-consuming operation.
339
339
  */
340
- OnWebTwainPostExecute: () => {};
340
+ OnWebTwainPostExecute: () => void;
341
341
  /**
342
342
  * A callback function that is executed before a time-consuming operation.
343
343
  */
344
- OnWebTwainPreExecute: () => {};
344
+ OnWebTwainPreExecute: () => void;
345
345
  /**
346
346
  * A callback function that is executed when a WebTwain instance is created.
347
347
  */
348
- OnWebTwainReady: () => {};
348
+ OnWebTwainReady: () => void;
349
349
  /**
350
350
  * A callback function that is executed right before the creation of a WebTwain instance.
351
351
  */
352
- OnWebTwainWillInit: () => {};
352
+ OnWebTwainWillInit: () => void;
353
353
  /**
354
354
  * The version of the PDF module (not the rasterizer).
355
355
  */
@@ -497,7 +497,7 @@ export interface ManagerEnv {
497
497
  * Interface for a WebTwain profile.
498
498
  */
499
499
  export interface Container {
500
- WebTwainId: string;
500
+ WebTwainId?: string;
501
501
  ContainerId?: string;
502
502
  Width?: string | number;
503
503
  Height?: string | number;
@@ -84,14 +84,8 @@ export interface WebTwainAcquire extends WebTwainEdit {
84
84
  ): boolean | void;
85
85
  /**
86
86
  * Bring up the Source Selection User Interface (UI) for the user to choose a data source.
87
- * @param successCallback A callback function that is executed if the request succeeds.
88
- * @param failureCallback A callback function that is executed if the request fails.
89
- * @argument errorCode The error code.
90
- * @argument errorString The error string.
91
87
  */
92
88
  SelectSourceAsync(
93
- successCallBack?: () => void,
94
- failureCallBack?: (errorCode: number, errorString: string) => void
95
89
  ): Promise<boolean>;
96
90
  /**
97
91
  * Select a data source by its index.
@@ -653,6 +647,21 @@ export interface DeviceConfiguration {
653
647
  * How much extended information is retrieved. Only valid when {IfGetExtImageInfo} is true.
654
648
  */
655
649
  extendedImageInfoQueryLevel?: number;
650
+ /**
651
+ * Whether to simulate the manufacturer's UI inside the client-side browser (only effective when IfShowUI is true).
652
+ * (Added in 16.2)
653
+ */
654
+ RemoteScan?:boolean;
655
+ /**
656
+ * Whether to simulate the manufacturer's UI inside the client-side browser (only effective when IfShowUI and RemoteScan are both true and the WebTwain instance doing the scan has no viewer of its own).
657
+ * (Added in 16.2)
658
+ */
659
+ ShowRemoteScanUI?:boolean;
660
+ /**
661
+ * Specify a source by its index.
662
+ * (Added in 16.2)
663
+ */
664
+ SelectSourceByIndex?: number;
656
665
  }
657
666
  export interface SourceDetails {
658
667
  /**
@@ -982,23 +991,23 @@ export interface CapabilityDetails {
982
991
  /**
983
992
  * The container type of the Capability
984
993
  */
985
- conType: ValueAndLabel;
994
+ conType?: ValueAndLabel;
986
995
  /**
987
996
  * The index for the current value of the Capability
988
997
  */
989
- curIndex: number;
998
+ curIndex?: number;
990
999
  /**
991
1000
  * The current value of the Capability
992
1001
  */
993
- curValue: ValueAndLabel;
1002
+ curValue?: ValueAndLabel;
994
1003
  /**
995
1004
  * The index for the default value of the Capability
996
1005
  */
997
- defIndex: number;
1006
+ defIndex?: number;
998
1007
  /**
999
1008
  * The operation types that are supported by the Capability. Types include {"get", "set", "reset" "getdefault", "getcurrent"}
1000
1009
  */
1001
- query: string[];
1010
+ query?: string[];
1002
1011
  /**
1003
1012
  * The value type of the Capability. Value types include
1004
1013
  * TWTY_BOOL: 6
@@ -1015,21 +1024,22 @@ export interface CapabilityDetails {
1015
1024
  * TWTY_UINT16: 4
1016
1025
  * TWTY_int: 5
1017
1026
  */
1018
- valueType: ValueAndLabel;
1027
+ valueType?: ValueAndLabel;
1019
1028
  /**
1020
1029
  * The available values of the Capability
1021
1030
  */
1022
- values: ValueAndLabel[];
1031
+ values?: ValueAndLabel[];
1023
1032
  }
1024
1033
  export interface ValueAndLabel {
1025
1034
  /**
1026
1035
  * Numeric representation of the item
1027
1036
  */
1028
- value: DynamsoftEnumsDWT.EnumDWT_Cap | DynamsoftEnumsDWT.EnumDWT_CapType | DynamsoftEnumsDWT.EnumDWT_CapValueType | number;
1037
+ value?: DynamsoftEnumsDWT.EnumDWT_Cap | DynamsoftEnumsDWT.EnumDWT_CapType | DynamsoftEnumsDWT.EnumDWT_CapValueType | number;
1029
1038
  /**
1030
1039
  * Label or name of the item
1031
1040
  */
1032
- label: string;
1041
+ label?: string;
1042
+ [key:string]:any;
1033
1043
  }
1034
1044
  export interface Capabilities {
1035
1045
  /**
@@ -1049,7 +1059,7 @@ export interface CapabilitySetup {
1049
1059
  /**
1050
1060
  * The value to set to the capability or the value of the capability after setting.
1051
1061
  */
1052
- curValue: number | string;
1062
+ curValue: number | string | object;
1053
1063
  errorCode?: number;
1054
1064
  errorString?: string;
1055
1065
  /**
@@ -265,12 +265,12 @@ export interface WebTwainBuffer extends WebTwainIO {
265
265
  /**
266
266
  * Get the status of the tags.
267
267
  */
268
- GetTagList(): any;
268
+ GetTagList(): TagInfo[];
269
269
  /**
270
270
  * Get the status of the tags for a specific image.
271
271
  * @param index Specify one image.
272
272
  */
273
- GetTagListByIndex(index:number): any;
273
+ GetTagListByIndex(index:number): TagName[];
274
274
  /**
275
275
  * Get the current file name.
276
276
  */
@@ -293,5 +293,19 @@ export interface WebTwainBuffer extends WebTwainIO {
293
293
  /**
294
294
  * Get the info of the all files.
295
295
  */
296
- GetFileInfoList(): any;
296
+ GetFileInfoList(): FileInfo[];
297
+ }
298
+
299
+ export interface TagName {
300
+ name: string;
301
+ }
302
+
303
+ export interface TagInfo {
304
+ name: string;
305
+ imageIds: number[];
306
+ }
307
+
308
+ export interface FileInfo {
309
+ name: string;
310
+ imageIds: number[];
297
311
  }
@@ -79,7 +79,7 @@ export interface WebTwainIO extends WebTwainUtil {
79
79
  /**
80
80
  * Return or set the compression type of PDF files. This is a runtime property.
81
81
  */
82
- PDFCompressionType: DynamsoftEnumsDWT.EnumDWT_PDFCompressionType;
82
+ PDFCompressionType: DynamsoftEnumsDWT.EnumDWT_PDFCompressionType | number;
83
83
  /**
84
84
  * Return or set the date when the PDF document is created.
85
85
  */
@@ -70,7 +70,7 @@ export interface WebTwainUtil {
70
70
  * @param name Specify the event
71
71
  * @param callback The event listener
72
72
  */
73
- UnregisterEvent(name: string, callback: () => void): boolean;
73
+ UnregisterEvent(name: string, callback?: (...arg: any[]) => void): boolean;
74
74
  /**
75
75
  * VersionInfo in the identity string of the Dynamic Web TWAIN library.
76
76
  */
@@ -329,14 +329,14 @@ export interface DynamsoftViewer {
329
329
  * @param name Specify the event name.
330
330
  * @param callback The event listener
331
331
  */
332
- on(name: string, callback: (event?: any, event1?: any, event2?: any) => void): void;
332
+ on(eventName: string, callback: (...param: any[]) => void): void;
333
333
  /**
334
334
  * [Scope] Main viewer
335
335
  * [Description] Remove the event handler.
336
336
  * @param eventName Specify the event name.
337
337
  * @param callback The event listener.
338
338
  */
339
- off(eventName: string, callback?: () => void): void;
339
+ off(eventName: string, callback?: (...param: any[]) => void): void;
340
340
  }
341
341
  export interface EditorSettings {
342
342
  /**
@@ -607,14 +607,14 @@ export interface ThumbnailViewer {
607
607
  * @param name Specify the event name.
608
608
  * @param callback The event listener.
609
609
  */
610
- on(name: string, callback: (event?: any, event1?: any, event2?: any) => void): void;
610
+ on(eventName: string, callback: (...param: any[]) => void): void;
611
611
  /**
612
612
  * [Scope] Thumbnail viewer
613
613
  * [Description] Remove the event handler.
614
614
  * @param eventName Specify the event name.
615
615
  * @param callback The event listener.
616
616
  */
617
- off(eventName: string, callback?: () => void): void;
617
+ off(eventName: string, callback?: (...param: any[]) => void): void;
618
618
  /**
619
619
  * [Scope] Thumbnail viewer
620
620
  * [Description] Where to put the thumbnail view. The allowed values are left, top, right, bottom. The default value is left.
@@ -18,7 +18,6 @@
18
18
  "forceConsistentCasingInFileNames": true
19
19
  },
20
20
  "files": [
21
- "dwt-tests.ts",
22
21
  "index.d.ts"
23
22
  ]
24
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dwt",
3
- "version": "17.2.1",
3
+ "version": "17.2.4",
4
4
  "author": {
5
5
  "name": "Dynamsoft",
6
6
  "url": "https://www.dynamsoft.com"
@@ -18,7 +18,7 @@
18
18
 
19
19
  <script type="text/javascript">
20
20
  Dynamsoft.DWT.ResourcesPath = "../dist";
21
- Dynamsoft.DWT.ProductKey = 't00881wAAAJiZxwKrauMDAnLQZ4prFe5v+GIzhfe6tY5KYmPHgMl/HdEi/Vt0gw0oYrLdhvNToW0YknBnPyJr0T5IkwNgUinIjHfOHUQH/gYsW0kWed4BaK4rng==';
21
+ Dynamsoft.DWT.ProductKey = 't00901wAAAFGokK55GCTHFf8RWZ8bKjNRD1O+Gf0xA6MUdkmYI6zSueLnBjy55bNxl/YW1HkZykS/h0xYHBuFFwIDbexR567425Cx3hnuwAewN5DyXtRd/ATLnyy+';
22
22
  Dynamsoft.DWT.RegisterEvent('OnWebTwainReady', Dynamsoft_OnReady);
23
23
  window.onload = function () {
24
24
  if (Dynamsoft.Lib.env.bMobile) {
@@ -27,7 +27,7 @@
27
27
  <script type="text/javascript">
28
28
  Dynamsoft.DWT.ResourcesPath = "../dist";
29
29
  Dynamsoft.DWT.UseCameraAddonWasm = true;
30
- Dynamsoft.DWT.ProductKey = 't00881wAAAJiZxwKrauMDAnLQZ4prFe5v+GIzhfe6tY5KYmPHgMl/HdEi/Vt0gw0oYrLdhvNToW0YknBnPyJr0T5IkwNgUinIjHfOHUQH/gYsW0kWed4BaK4rng==';
30
+ Dynamsoft.DWT.ProductKey = 't00901wAAAFGokK55GCTHFf8RWZ8bKjNRD1O+Gf0xA6MUdkmYI6zSueLnBjy55bNxl/YW1HkZykS/h0xYHBuFFwIDbexR567425Cx3hnuwAewN5DyXtRd/ATLnyy+';
31
31
  Dynamsoft.DWT.RegisterEvent('OnWebTwainReady', Dynamsoft_OnReady);
32
32
  Dynamsoft.DWT.Containers = [{ ContainerId: 'dwtcontrolContainer', Width: 600, Height: 800 }];
33
33
  var bWASMCamera = true, bWASM = false;
@@ -1,4 +1,5 @@
1
- <html>
1
+ <!DOCTYPE html>
2
+ <html>
2
3
  <head>
3
4
  <title>Please scan the barcode to visit the online demo</title>
4
5
  </head>
@@ -38,7 +38,7 @@
38
38
  <div id="dwtcontrolContainer"></div>
39
39
  <script type="text/javascript">
40
40
  Dynamsoft.DWT.ResourcesPath = "../dist";
41
- Dynamsoft.DWT.ProductKey = 't00881wAAAJiZxwKrauMDAnLQZ4prFe5v+GIzhfe6tY5KYmPHgMl/HdEi/Vt0gw0oYrLdhvNToW0YknBnPyJr0T5IkwNgUinIjHfOHUQH/gYsW0kWed4BaK4rng==';
41
+ Dynamsoft.DWT.ProductKey = 't00901wAAAFGokK55GCTHFf8RWZ8bKjNRD1O+Gf0xA6MUdkmYI6zSueLnBjy55bNxl/YW1HkZykS/h0xYHBuFFwIDbexR567425Cx3hnuwAewN5DyXtRd/ATLnyy+';
42
42
  Dynamsoft.DWT.RegisterEvent('OnWebTwainReady', Dynamsoft_OnReady); // Register OnWebTwainReady event. This event fires as soon as Dynamic Web TWAIN is initialized and ready to be used
43
43
  window.onload = function () {
44
44
  if (Dynamsoft.Lib.env.bMobile) {
@@ -25,7 +25,7 @@
25
25
 
26
26
  <script type="text/javascript">
27
27
  Dynamsoft.DWT.ResourcesPath = "../dist";
28
- Dynamsoft.DWT.ProductKey = 't00881wAAAJiZxwKrauMDAnLQZ4prFe5v+GIzhfe6tY5KYmPHgMl/HdEi/Vt0gw0oYrLdhvNToW0YknBnPyJr0T5IkwNgUinIjHfOHUQH/gYsW0kWed4BaK4rng==';
28
+ Dynamsoft.DWT.ProductKey = 't00901wAAAFGokK55GCTHFf8RWZ8bKjNRD1O+Gf0xA6MUdkmYI6zSueLnBjy55bNxl/YW1HkZykS/h0xYHBuFFwIDbexR567425Cx3hnuwAewN5DyXtRd/ATLnyy+';
29
29
  window.onload = function () {
30
30
  Dynamsoft.DWT.Containers = [{ContainerId:'dwtcontrolContainer', Width:600, Height:800}];
31
31
  Dynamsoft.DWT.Load();
@@ -15,7 +15,7 @@
15
15
  <div id="dwtcontrolContainer"></div>
16
16
  <script type="text/javascript">
17
17
  Dynamsoft.DWT.ResourcesPath = "../dist";
18
- Dynamsoft.DWT.ProductKey = 't00881wAAAJiZxwKrauMDAnLQZ4prFe5v+GIzhfe6tY5KYmPHgMl/HdEi/Vt0gw0oYrLdhvNToW0YknBnPyJr0T5IkwNgUinIjHfOHUQH/gYsW0kWed4BaK4rng==';
18
+ Dynamsoft.DWT.ProductKey = 't00901wAAAFGokK55GCTHFf8RWZ8bKjNRD1O+Gf0xA6MUdkmYI6zSueLnBjy55bNxl/YW1HkZykS/h0xYHBuFFwIDbexR567425Cx3hnuwAewN5DyXtRd/ATLnyy+';
19
19
  Dynamsoft.DWT.RegisterEvent('OnWebTwainReady', Dynamsoft_OnReady);
20
20
  window.onload = function () {
21
21
  if (Dynamsoft.Lib.env.bMobile) {
@@ -22,7 +22,7 @@
22
22
 
23
23
  <script type="text/javascript">
24
24
  Dynamsoft.DWT.ResourcesPath = "../dist";
25
- Dynamsoft.DWT.ProductKey = 't00881wAAAJiZxwKrauMDAnLQZ4prFe5v+GIzhfe6tY5KYmPHgMl/HdEi/Vt0gw0oYrLdhvNToW0YknBnPyJr0T5IkwNgUinIjHfOHUQH/gYsW0kWed4BaK4rng==';
25
+ Dynamsoft.DWT.ProductKey = 't00901wAAAFGokK55GCTHFf8RWZ8bKjNRD1O+Gf0xA6MUdkmYI6zSueLnBjy55bNxl/YW1HkZykS/h0xYHBuFFwIDbexR567425Cx3hnuwAewN5DyXtRd/ATLnyy+';
26
26
  window.onload = function () {
27
27
  Dynamsoft.DWT.Containers = [{ContainerId:'dwtcontrolContainer', Width:700, Height:800}];
28
28
  Dynamsoft.DWT.Load();
@@ -40,7 +40,7 @@
40
40
 
41
41
  <script type="text/javascript">
42
42
  Dynamsoft.DWT.ResourcesPath = "../dist";
43
- Dynamsoft.DWT.ProductKey = 't00881wAAAJiZxwKrauMDAnLQZ4prFe5v+GIzhfe6tY5KYmPHgMl/HdEi/Vt0gw0oYrLdhvNToW0YknBnPyJr0T5IkwNgUinIjHfOHUQH/gYsW0kWed4BaK4rng==';
43
+ Dynamsoft.DWT.ProductKey = 't00901wAAAFGokK55GCTHFf8RWZ8bKjNRD1O+Gf0xA6MUdkmYI6zSueLnBjy55bNxl/YW1HkZykS/h0xYHBuFFwIDbexR567425Cx3hnuwAewN5DyXtRd/ATLnyy+';
44
44
  window.onload = function () {
45
45
  Dynamsoft.DWT.Containers = [{ContainerId:'dwtcontrolContainer', Width:700, Height:600}];
46
46
  Dynamsoft.DWT.Load();
@@ -18,7 +18,7 @@
18
18
 
19
19
  <script type="text/javascript">
20
20
  Dynamsoft.DWT.ResourcesPath = "../dist";
21
- Dynamsoft.DWT.ProductKey = 't00881wAAAJiZxwKrauMDAnLQZ4prFe5v+GIzhfe6tY5KYmPHgMl/HdEi/Vt0gw0oYrLdhvNToW0YknBnPyJr0T5IkwNgUinIjHfOHUQH/gYsW0kWed4BaK4rng==';
21
+ Dynamsoft.DWT.ProductKey = 't00901wAAAFGokK55GCTHFf8RWZ8bKjNRD1O+Gf0xA6MUdkmYI6zSueLnBjy55bNxl/YW1HkZykS/h0xYHBuFFwIDbexR567425Cx3hnuwAewN5DyXtRd/ATLnyy+';
22
22
  window.onload = function () {
23
23
  if (Dynamsoft && (!Dynamsoft.Lib.product.bChromeEdition)) {
24
24
  var ObjString = [];
@@ -30,7 +30,7 @@
30
30
  <script type="text/javascript">
31
31
  Dynamsoft.DWT.Containers = [{ ContainerId: 'dwtcontrolContainer', Width: 270, Height: 350 }];
32
32
  Dynamsoft.DWT.ResourcesPath = "../dist";
33
- Dynamsoft.DWT.ProductKey = 't00881wAAAJiZxwKrauMDAnLQZ4prFe5v+GIzhfe6tY5KYmPHgMl/HdEi/Vt0gw0oYrLdhvNToW0YknBnPyJr0T5IkwNgUinIjHfOHUQH/gYsW0kWed4BaK4rng==';
33
+ Dynamsoft.DWT.ProductKey = 't00901wAAAFGokK55GCTHFf8RWZ8bKjNRD1O+Gf0xA6MUdkmYI6zSueLnBjy55bNxl/YW1HkZykS/h0xYHBuFFwIDbexR567425Cx3hnuwAewN5DyXtRd/ATLnyy+';
34
34
  Dynamsoft.DWT.RegisterEvent('OnWebTwainReady', Dynamsoft_OnReady);
35
35
  Dynamsoft.Ready(function () {
36
36
  onload();
@@ -22,7 +22,7 @@
22
22
  </div>
23
23
  <script type="text/javascript">
24
24
  Dynamsoft.DWT.ResourcesPath = "../dist";
25
- Dynamsoft.DWT.ProductKey = 't00881wAAAJiZxwKrauMDAnLQZ4prFe5v+GIzhfe6tY5KYmPHgMl/HdEi/Vt0gw0oYrLdhvNToW0YknBnPyJr0T5IkwNgUinIjHfOHUQH/gYsW0kWed4BaK4rng==';
25
+ Dynamsoft.DWT.ProductKey = 't00901wAAAFGokK55GCTHFf8RWZ8bKjNRD1O+Gf0xA6MUdkmYI6zSueLnBjy55bNxl/YW1HkZykS/h0xYHBuFFwIDbexR567425Cx3hnuwAewN5DyXtRd/ATLnyy+';
26
26
  Dynamsoft.DWT.RegisterEvent('OnWebTwainReady', Dynamsoft_OnReady);
27
27
  window.onload = function () {
28
28
  if (Dynamsoft.Lib.env.bMobile) {