Dynamsoft Home|Product Home

CapDescription Property

Description

Returns the description of a constant for the current capability. The current capability is specified in Capability property. This is a runtime, read-only property.

Data type

String

Syntax

ObjectName. CapDescription(Integer CapValue)

Remarks

This property has a parameter.

The return value of this property is useful for display purposes. For example, when the value of the Capability property is ICAP_UNITS, CapDescription(0) returns "INCHES".

If no description is found for the specified Capability property and CapValue parameter, "" is returned.

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