Disable the source. If the source's user interface is displayed when the source is enabled, it will be closed.
ObjectName. DisableSource()
None.
Boolean.
TRUE indicates success. FALSE indicates failure.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown.
When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.
After DisableSource(), the Source is returned to State 4, where capability negotiation can again occur.
EnableSource(), OpenSource(), TWAIN State Transition.