Dynamsoft Home|Product Home

CapCurrentValue Property

Description

Sets or returns the current value in a range when the value of the CapType property is TWON_RANGE. This is a runtime property.

Data type

Double

Syntax

ObjectName. CapCurrentValue

Remarks

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

CapCurrentValue 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, CapDefaultValue property, CapMaxValue property, CapMinValue property, CapStepSize property, CapType property

Sample

Refer to Setting Capability with TW_RANGE, Reading Value(s) from Capability Negotiation.