Returns the Source's default value for the specified capability. This is the Source's preferred default value.
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
Before invoking CapGetDefault(), Capability property should be set.
The Source's Default Value cannot be changed.
Using the Source's preferred default as the Current Value may increase performance in some Sources.
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. |