LEADTOOLS WIA (Leadtools.Wia assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ScanningMode Property
See Also 
Leadtools.Wia Namespace > WiaProperties Structure : ScanningMode Property



Gets or sets the scanner acquisition source and mode.

Syntax

Visual Basic (Declaration) 
Public Property ScanningMode As WiaScanningModeFlags
Visual Basic (Usage)Copy Code
Dim instance As WiaProperties
Dim value As WiaScanningModeFlags
 
instance.ScanningMode = value
 
value = instance.ScanningMode
C# 
public WiaScanningModeFlags ScanningMode {get; set;}
C++/CLI 
public:
property WiaScanningModeFlags ScanningMode {
   WiaScanningModeFlags get();
   void set (    WiaScanningModeFlags value);
}

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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also