DTWAIN_RangeSetValueFloatString

DTWAIN_RangeSetValueFloatStringA

DTWAIN_RangeSetValueFloatStringW

Top  Previous  Next

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

 

DTWAIN_BOOL DTWAIN_RangeSetValueFloat (

DTWAIN_RANGE

Range,

LONG

WhichValue,

LPCTSTR

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.


Character specific versions

ANSI version:

DTWAIN_RangeSetValueFloatStringA

Unicode version:

DTWAIN_RangeSetValueFloatStringW

 

Comments

The DTWAIN_RangeSetValueFloatString function works the same as DTWAIN_RangeSetValueFloat, where the floating point value is represented as a string.


This function can be used by computer languages that do not handle 64-bit IEEE parameters correctly.    

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

DTWAIN Range Functions