CapType

Description

Returns or sets the type of capability container used to exchange capability
information between application and source.

Data type

EnumDWT_CapType (int)

Syntax

.CapType = EnumDWT_CapType.TWON_ONEVALUE;

Value Description
TWON_ARRAY (3) A array of associated individual values.
For this type of capabilities, you can use
CapNumItems,
GetCapItems(),
GetCapItemsString(),
SetCapItems(),
SetCapItemsString()
TWON_ENUMERATION (4) A group of associated individual values.
The values are ordered from the lowest to the highest , but the step size between
every two values might not be the same.
For this type of capabilities, you can use
CapNumItems,
GetCapItems(),
GetCapItemsString(),
SetCapItems(),
SetCapItemsString(),
CapCurrentIndex,
CapDefaultIndex
TWON_ONEVALUE (5) A single value.
For this type of capabilities, you can use
CapValue,
CapValueString
TWON_RANGE(6) A range of individual values with the same step size between every two neighboring values.
For this type of capabilities, you can use
CapMinValue,
CapMaxValue,
CapStepSize
CapCurrentValue,
CapDefaultValue

Remarks

Set CapType when you try to set a capability with CapSet(). Check CapType after you read a capability by CapGet().

When an error occurs, check ErrorCode orErrorStringfor error information.

See also

How to Negotiate Capability with Different Capability Container Types
OpenSource()
CapGet()
CapReset()
CapSet()
CapType

Is this page helpful?

Leave a Reply

Your email address will not be published.