Dynamic Web TWAIN  - TWAIN ActiveX/Plug-in, Scanner COM Control
TWAIN ActiveX/Plug-in HTTP Control/SDK

CapGetCurrent Method

Description

Returns the Source's current Value for the specified capability. 

Syntax

Boolean ObjectName. CapGetCurrent()

Parameters

None.

Return value

Boolean.

TRUE indicates success. FALSE indicates failure.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

Remarks

Before invoking CapGetCurrent(), Capability property should be set.

After calling CapGetCurrent(), check CapType property for the capability container type and then read information from different properties according to the container type. This process is the same as CapGet(), please refer to CapType property and Reading Value(s) from Capability Negotiation.

See also

Capability property, CapGet(), CapGetDefault(), CapSet(), CapType property

 

 

 













TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2009 Dynamsoft Corporation. All Rights Reserved.