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



Gets the currently selected WIA device type.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property SelectedDeviceType As WiaDeviceType
Visual Basic (Usage)Copy Code
Dim instance As WiaSession
Dim value As WiaDeviceType
 
value = instance.SelectedDeviceType
C# 
public WiaDeviceType SelectedDeviceType {get;}
C++/CLI 
public:
property WiaDeviceType SelectedDeviceType {
   WiaDeviceType get();
}

Property Value

(Read only) The currently selected WIA device type (Scanner, digital camera or streaming video).

Example

For an example, refer to WiaSession.EnumDevices.

Remarks

Gets the currently selected WIA device type. Use this property to determine the type of the device selected using any of the WiaSession.SelectDeviceDlg or WiaSession.SelectDevice methods at runtime.

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