DTWAIN_RangeSetAllFloat

Top  Previous  Next

The DTWAIN_RangeSetAllFloat function sets the low, high, step, default, and current values in the DTWAIN_RANGE.

 

DTWAIN_BOOL DTWAIN_RangeSetAllFloat (

DTWAIN_RANGE

Range,

DTWAIN_FLOAT

Min,

DTWAIN_FLOAT

Max,

DTWAIN_FLOAT

Step,

DTWAIN_FLOAT

Def,

DTWAIN_FLOAT

Cur );

 

Parameters

Range

A valid DTWAIN_RANGE type.

 

Min

Minimum value.

 

Max

Maximum value

 

Step

Step value

 

Def

default value

 

Cur

current value.

 

Return Values

TRUE if successful, FALSE otherwise.  If the function returns FALSE, call DTWAIN_GetLastError() to get extended information.

 

Comments

The DTWAIN_RangeSetAll function is a specialized version of DTWAIN_RangeSetAll that sets all of the values that define the DTWAIN_RANGE. Instead of addresses, the value types for minimum, maximum, step, default, and current value are DTWAIN_FLOAT  

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

DTWAIN Range Functions