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

SelectedDeviceType Property






Gets the currently selected WIA device type.
Syntax
public WiaDeviceType SelectedDeviceType {get;}
'Declaration
 
Public ReadOnly Property SelectedDeviceType As WiaDeviceType
'Usage
 
Dim instance As WiaSession
Dim value As WiaDeviceType
 
value = instance.SelectedDeviceType
public WiaDeviceType SelectedDeviceType {get;}
 get_SelectedDeviceType(); 
public:
property WiaDeviceType SelectedDeviceType {
   WiaDeviceType get();
}

Property Value

The currently selected WIA device type (Scanner, digital camera or streaming video).
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.

Example
For an example, refer to WiaSession.EnumDevices.
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

WiaSession Class
WiaSession Members
Startup Method
Shutdown Method
SelectDeviceDlg Method
SelectDevice Method
EnumDevices Method

 

 


Products | Support | Contact Us | Copyright Notices

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