- deviceId
- String that contains the device ID. You can obtain this string by enumerating the available WIA devices on your machine.
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As WiaSession Dim deviceId As String instance.SelectDevice(deviceId) |
Parameters
- deviceId
- String that contains the device ID. You can obtain this string by enumerating the available WIA devices on your machine.
Refer to WiaSession.EnumDevices
Use this function when working with multiple WIA devices installed on a machine in order to select the WIA device without displaying the Select Device dialog. To do this, enumerate the WIA devices by calling the WiaSession.EnumDevices method. Then use it to keep a list of all received device IDs. Then call SelectDevice method using the device ID for the device to be selected.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7