DTWAIN_RangeSetValueFloat

Top  Previous  Next

The DTWAIN_RangeSetValueFloat function sets either the low, high, step, default, or current values in the DTWAIN_RANGE.

 

DTWAIN_BOOL DTWAIN_RangeSetValueFloat (

DTWAIN_RANGE

Range,

LONG

WhichValue,

DTWAIN_FLOAT

Value );

 

Parameters

Range

A valid DTWAIN_RANGE type.

 

WhichValue

Range value to set

 

Value

new value to set in the DTWAIN_RANGE

 

 

Return Values

If the function succeeds, TRUE is returned.  If the function fails FALSE is returned.

 

Comments

The DTWAIN_RangeSetValueFloat function is a specialized version of DTWAIN_RangeSetValue, where the value that will be set is a DTWAIN_FLOAT.


The Value is the DTWAIN_FLOAT that will be the new value in the range. 

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

DTWAIN Range Functions