TWAIN ActiveX/Plug-in Windows/Mac 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.

Support information

ActiveX Edition Plug-in Edition Mac Edition
Since V1.0 Since V4.0 Since V6.4

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 © 2012 Dynamsoft Corporation. All Rights Reserved.