TWAIN ActiveX/Plug-in Windows/Mac HTTP Control/SDK

CapType Property

Description

Sets or returns the type of capability container used to exchange capability information between application and source. This is a runtime property.

Support information

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

Data type

Enumerated value / Integer

Syntax

ObjectName. CapType

Value Description
TWON_ARRAY(3) A array of associated individual values. 
CapNumItems
property, CapItems property/CapItemsString property are valid.

TWON_ENUMERATION(4) A group of associated individual values. The values are ordered from the lowest to highest values, but the step size between every two values is probably not uniform.
CapNumItems property, CapCurrentIndex property, CapDefaultIndex property, CapItems property/CapItemsString property are valid.

TWON_ONEVALUE(5) A single value. CapValue property or CapValueString property is valid.

TWON_RANGE(6) A range of individual values. 
CapMinValue property, CapMaxValue property, CapStepSize property, CapDefaultValue property and CapCurrentValue property are valid.

Remarks

CapType property does not need to be set before CapGet() is called.

CapDefaultIndex property and CapDefaultValue property reflect power-on values and are not available with CapSet().

When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.

See also

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

Sample code

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.