Click or drag to resize

Device.Disable Method

This method will disable and hide the device interface. This only needs to be called if the Enable() method is used to display the interface or invoke scanning.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax
public void Disable()
Exceptions
ExceptionCondition
Thrown if there is a Twain error while closing the interface.
Remarks
The user will have to click the 'Cancel' button to close the interface when Enable() is used. The Disable method should be called in the AcquireCanceled event before using the Close() method.
See Also