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
Copy file name to clipboardExpand all lines: info/api/WebTwain_Acquire.md
+37-19Lines changed: 37 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,18 @@ description: Dynamic Web TWAIN SDK Documentation API Reference Acquire APIs Page
8
8
permalink: /info/api/WebTwain_Acquire.html
9
9
---
10
10
11
+
11
12
# {WebTwainObject} Scan
12
13
13
14
> The properties and methods on this page live in the namespace {WebTwainObject}. {WebTwainObject} denotes the `WebTwain` instance. Learn about [how to create a web twain object]({{site.indepth}}features/initialize.html#creating-the-webtwain-instance).
14
15
16
+
<divclass="multi-panel-switching-prefix"></div>
17
+
18
+
-[Desktop Service](#desktop)
19
+
-[Android Service](#android)
20
+
21
+
<divclass="multi-panel-start"></div>
22
+
15
23
**1. The following APIs are compatible with TWAIN, ICA, SANE (Windows, macOS and Linux)**
>The Android Service Edition only supports a subset of the APIs available in the Desktop Service Edition. For the APIs that are compatible with both editions, the usage remains the same. To learn how to use the APIs, please refer to the documentation for the Desktop Service Edition.
IfShowUI?:boolean; //Whether to show the built-in User Interface from the device vendor
98
-
PixelType?:Dynamsoft.DWT.EnumDWT_PixelType|number|string; //Whether to scan in color, grey or black & white
99
-
Resolution?:number; //Measured by dots per pixel (DPI)
100
-
IfFeederEnabled?:boolean; //Whether to use the document feeder or the flatbed of the device
101
-
IfDuplexEnabled?:boolean; //Whether to scan one side or both sides
102
-
IfDisableSourceAfterAcquire?:boolean; //Whether to close the built-in User Interface after aquisition. Only valid when {IfShowUI} is true.
103
-
IfGetImageInfo?:boolean; //Whether to retrieve information about the image after it's transferred.
104
-
IfGetExtImageInfo?:boolean; //Whether to retrieve extended information about the image after it's transferred.
105
-
extendedImageInfoQueryLevel?:Dynamsoft.DWT.EnumDWT_ExtImageInfo|number; //How much extended information is retrieved. Only valid when {IfGetExtImageInfo} is true.
106
-
SelectSourceByIndex?:number; //Specify a source by its index.
107
-
IfCloseSourceAfterAcquire?:boolean; //Whether to close the data source after aquisition. Default: false.
The properties and methods on this page live in the namespace {WebTwainObject}. {WebTwainObject} denotes the `WebTwain` instance. Learn about [how to create a web twain object]({{site.indepth}}features/initialize.html#creating-the-webtwain-instance).
14
14
15
+
> All APIs on this page support Android Service from version 18.2.
The properties and methods on this page live in the namespace {WebTwainObject}. {WebTwainObject} denotes the `WebTwain` instance. Learn about [how to create a web twain object]({{site.indepth}}features/initialize.html#creating-the-webtwain-instance).
14
14
15
+
> All APIs on this page support Android Service from version 18.2.
The properties and methods on this page live in the namespace {WebTwainObject}. {WebTwainObject} denotes the `WebTwain` instance. Learn about [how to create a web twain object]({{site.indepth}}features/initialize.html#creating-the-webtwain-instance).
15
15
16
+
<divclass="multi-panel-switching-prefix"></div>
17
+
18
+
-[Desktop Service](#desktop)
19
+
-[Android Service](#android)
20
+
21
+
<divclass="multi-panel-start"></div>
22
+
16
23
**Methods**
17
24
18
25
**Input Methods**
@@ -60,6 +67,59 @@ The properties and methods on this page live in the namespace {WebTwainObject}.
>The Android Service Edition only supports a subset of the APIs available in the Desktop Service Edition. For the APIs that are compatible with both editions, the usage remains the same. To learn how to use the APIs, please refer to the documentation for the Desktop Service Edition.
@@ -3897,3 +3957,8 @@ TIFF_T4 (3) and TIFF_FAX3 (3) are two names for the same compression type. So ar
3897
3957
TIFF_RLE (2), TIFF_T4 (3), TIFF_FAX3 (3) and TIFF_PACKBITS (32773) only support compression of 1-bit images. TIFF_JPEG (7) supports compression of 8-bit above color images and 8-bit grey images.
3898
3958
3899
3959
When TIFF_JPEG (7) is used, you can use JPEGQuality to further reduce the size of the TIFF file.
The properties and methods on this page live in the namespace {WebTwainObject}. {WebTwainObject} denotes the `WebTwain` instance. Learn about [how to create a web twain object]({{site.indepth}}features/initialize.html#creating-the-webtwain-instance).
14
14
15
+
<divclass="multi-panel-switching-prefix"></div>
16
+
17
+
-[Desktop Service](#desktop)
18
+
-[Android Service](#android)
19
+
20
+
<divclass="multi-panel-start"></div>
21
+
15
22
**Methods**
16
23
17
24
||
@@ -26,6 +33,27 @@ The properties and methods on this page live in the namespace {WebTwainObject}.
>The Android Service Edition only supports a subset of the APIs available in the Desktop Service Edition. For the APIs that are compatible with both editions, the usage remains the same. To learn how to use the APIs, please refer to the documentation for the Desktop Service Edition.
0 commit comments