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

CapSet Method

Description

Sets the current capability using the container type specified by CapType property. The current capability is specified by Capability property.

Syntax

Boolean ObjectName. CapSet()

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

For different capability container types, the properties need to be set are different. Before calling CapSet(), the corresponding properties should be set. Refer to How to Negotiate Capability with Different Capability Container Types for details.

See also

Capability property, CapGet(), CapType property

Sample

Refer to How to Negotiate Capability with Different Capability Container Types.

 

 

 













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.