Returns the Source's default value for the specified capability. This is the Source's preferred default value.

Namespace: Dynamsoft.DotNet.TWAIN
Assembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public bool CapGetDefault()
Visual Basic
Public Function CapGetDefault As Boolean

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

ExceptionCondition
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.

See Also