Dynamsoft Home|Product Home

CapItemsString Property

Description

Sets or returns a array of values of the capability specified by Capability property, when the value of the CapType property is TWON_ARRAY or TWON_ENUMERATION. This is a runtime property.

Data type

String

Syntax

ObjectName. CapItemsString(long index)

Remarks

Reading this property after calling CapGet() method. After setting this property, call CapSet() method to actually set the value.

This property has a parameter. The data type of the parameter is Long and it is 0-based.

CapItemsString property is used to set or return String type values. For other data types, use CapItems property.

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

COM Data Type Mapping, Capability property, CapGet(), CapItems property, CapSet(), CapType property, CapValue property, CapValueString property

Sample code

Please refer to How to Negotiate Capability with Different Capability Container Types.