Visual Basic (Declaration) | |
---|---|
Public Property ScanningMode As WiaScanningModeFlags |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public WiaScanningModeFlags ScanningMode {get; set;} |
C++/CLI | |
---|---|
public: property WiaScanningModeFlags ScanningMode { WiaScanningModeFlags get(); void set (WiaScanningModeFlags value); } |
Return Value
The scanner acquisition source and mode. Possible values are (according to Microsoft SDK documentation):Use this value only to determine whether the WiaProperties structure is filled with a valid scanning mode. | |
Scan using the document feeder. | |
Scan using the flatbed. | |
Scan using duplexer operations. | |
Enables automatic feeding of the next document after a scan. | |
Scan the front of the document first. This value is valid when Duplex is set. | |
Scan the back of the document first. This value is valid when Duplex is set. | |
Scan the front only. This value is valid when Duplex is set. | |
Scan the back only. This value is valid when Duplex is set. | |
Scan the next page of the document. | |
Enable pre-feed mode. Pre-position next document while scanning. | |
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).
Refer to WiaSession.GetRootItem example.
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family