Dynamsoft Home|Product Home

CapDefaultValue Property

Description

Returns the default value in a range when the value of the CapType property is TWON_RANGE. This is a runtime, read-only property.

Data type

Double

Syntax

ObjectName. CapDefaultValue

Remarks

Reading this property after calling CapGet() method.

Default value reflects the source's power-on value. It can NOT be set.

CapDefaultValue property is valid only when the value of the CapType property is TWON_RANGE.

For information of which properties are valid for different container types, please refer to CapType 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

Capability Property, CapCurrentValue property, CapMaxValue property, CapMinValue property, CapStepSize property, CapType property

Sample

Refer to Setting Capability with TW_RANGE.