VintaSoft Twain .NET SDK v10.2
DefaultDevice Property (DeviceManager)




Vintasoft.WpfTwain Namespace > DeviceManager Class : DefaultDevice Property
Returns the default TWAIN device.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<ReadOnlyAttribute(True)>
Public ReadOnly Property DefaultDevice As Device
'Usage
 
Dim instance As DeviceManager
Dim value As Device
 
value = instance.DefaultDevice
[Browsable(false)]
[ReadOnly(true)]
public Device DefaultDevice {get;}
[Browsable(false)]
[ReadOnly(true)]
public: __property Device* get_DefaultDevice();
[Browsable(false)]
[ReadOnly(true)]
public:
property Device^ DefaultDevice {
   Device^ get();
}

Property Value

Device object if device manager has default device; null if default device is not found.
Exceptions
ExceptionDescription
Thrown if device manager is not open.
Thrown if object is disposed.
Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

DeviceManager Class
DeviceManager Members