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

CapGet Method

Description

Gets information of the capability specified by the Capability property.

Syntax

Boolean ObjectName. CapGet()

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

See also

Capability property, CapSet(), CapType property, ErrorCode property, ErrorString Property, How to Negotiate Capability with Different Capability Container Types

Sample

Refer to Reading Value(s) from Capability Negotiation.













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