Changes the Current Value of the capability specified by Capability property back to its power-on value.

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

Syntax

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

Return Value

True indicates success. False indicates failure.

Remarks

Before invoking CapReset, Capability property should be set.

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