VintaSoft Twain .NET SDK v10.2
Enable Method (Device)




Vintasoft.WpfTwain Namespace > Device Class : Enable Method
Enables the device.
Syntax
'Declaration
 
Public Sub Enable() 
'Usage
 
Dim instance As Device
 
instance.Enable()
public void Enable()
public: void Enable(); 
public:
void Enable(); 
Exceptions
ExceptionDescription
Thrown if device is disposed.
Thrown if device is enabled already or transferring images.
Thrown if device is not enabled.
Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
Remarks
Call this method only when device is closed (State == DeviceState.Closed) or device is opened (State == DeviceState.Opened).
Requirements

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

See Also

Reference

Device Class
Device Members