Gets information of the capability specified by the Capability property.

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

Syntax

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

Return Value

True indicates success. False indicates failure.

Remarks

Before invoking CapGet(), Capability property should be set. CapType property needs not to be set, since when CapGet() is called, The container type is returned by the source, rather than specified by the application.

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