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
@@ -2238,6 +2255,18 @@ Set this property after `OpenSource()` and before `AcquireImage()` .
2238
2255
2239
2256
Not all scanners support duplex scanning. To confirm, check the user manual of the device or check the value of `Duplex` after `OpenSource()` .
2240
2257
2258
+
**Example**
2259
+
2260
+
```javascript
2261
+
DWObject.OpenSource();
2262
+
2263
+
if (DWObject.Duplex!=0) { // Note: DWObject.Duplex doesn't support Linux.
2264
+
DWObject.IfDuplexEnabled=true;
2265
+
}
2266
+
2267
+
DWObject.AcquireImage();
2268
+
```
2269
+
2241
2270
---
2242
2271
2243
2272
## IfFeederEnabled
@@ -2280,6 +2309,14 @@ Set this property after `OpenSource()` and before `AcquireImage()` .
2280
2309
2281
2310
If the property is set to `true` , the data source will try acquiring images from the document feeder first. If the data source doesn't have a document feeder, the flatbed will be used.
2282
2311
2312
+
**Example**
2313
+
2314
+
```javascript
2315
+
DWObject.OpenSource();
2316
+
DWObject.IfFeederEnabled=true;
2317
+
DWObject.AcquireImage();
2318
+
```
2319
+
2283
2320
---
2284
2321
2285
2322
## IfShowUI
@@ -2319,7 +2356,15 @@ IfShowUI: boolean;
2319
2356
2320
2357
If the property is set to `true` , the data source will display its user interface when `AcquireImage()` is called. Otherwise, the UI will not be displayed and the scan will start immediately.
2321
2358
2322
-
It's recommended to use this API after OpenSource() is called.
2359
+
It's recommended to use this API after `OpenSource()` is called.
2360
+
2361
+
**Example**
2362
+
2363
+
```javascript
2364
+
DWObject.OpenSource();
2365
+
DWObject.IfShowUI=true; // display the scanner UI before acquiring image
0 commit comments