Leadtools.Wia Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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();
}

Return 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 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family

See Also