Click or drag to resize

DeviceDisable 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.4.0.9.0.377 (.NET 4.5.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