LEADTOOLS WIA (Leadtools.Wia assembly)
LEAD Technologies, Inc

ScanningMode Property






Gets or sets the scanner acquisition source and mode.
Syntax
public WiaScanningModeFlags ScanningMode {get; set;}
'Declaration
 
Public Property ScanningMode As WiaScanningModeFlags
'Usage
 
Dim instance As WiaProperties
Dim value As WiaScanningModeFlags
 
instance.ScanningMode = value
 
value = instance.ScanningMode
public WiaScanningModeFlags ScanningMode {get; set;}
 get_ScanningMode();
set_ScanningMode(value);
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WiaProperties Structure
WiaProperties Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.