Disables the source. If the source's user interface is displayed when the source is enabled, it will be closed.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Return Value
True indicates success. False indicates failure.
Remarks
After DisableSource(), the Source is returned to State 4(Source is opened but not enabled),
where capability negotiation can be done again.
Exceptions
| Exception | Condition |
|---|---|
| Dynamsoft.DotNet.TWAIN..::..TwainException | When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. |