←Select platform

ScanningMode Property

Summary

Gets or sets the scanner acquisition source and mode.

Syntax

C#
VB
C++
public WiaScanningModeFlags ScanningMode { get; set; } 
  
Public Property ScanningMode As Leadtools.Wia.WiaScanningModeFlags 
public: 
property Leadtools.Wia.WiaScanningModeFlags ScanningMode { 
   Leadtools.Wia.WiaScanningModeFlags get(); 
   void set (    Leadtools.Wia.WiaScanningModeFlags ); 
} 

Property Value

The scanner acquisition source and mode. Possible values are (according to Microsoft SDK documentation):

WiaScanningModeFlags.None

Use this value only to determine whether the WiaProperties structure is filled with a valid scanning mode.

WiaScanningModeFlags.Feeder

Scan using the document feeder.

WiaScanningModeFlags.Flatbed

Scan using the flatbed.

WiaScanningModeFlags.Duplex

Scan using duplexer operations.

WiaScanningModeFlags.AutoAdvance

Enables automatic feeding of the next document after a scan.

WiaScanningModeFlags.FrontFirst

Scan the front of the document first. This value is valid when Duplex is set.

WiaScanningModeFlags.BackFirst

Scan the back of the document first. This value is valid when Duplex is set.

WiaScanningModeFlags.FrontOnly

Scan the front only. This value is valid when Duplex is set.

WiaScanningModeFlags.BackOnly

Scan the back only. This value is valid when Duplex is set.

WiaScanningModeFlags.NextPage

Scan the next page of the document.

WiaScanningModeFlags.Prefeed

Enable pre-feed mode. Pre-position next document while scanning.

WiaScanningModeFlags.AdvancedDuplex

Scan using individual settings configured for each child feeder item. Duplex and AdvancedDuplex cannot both be set.

For more information about these scanning modes, please refer to Microsoft Windows SDK Documentation for the WIA_DPS_DOCUMENT_HANDLING_SELECT property ID (if you are using WIA 1.0) or WIA_IPS_DOCUMENT_HANDLING_SELECT property ID (if you are using WIA 2.0).

Example

Refer to WiaSession.GetRootItem example.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly