DTWAIN_ArrayGetAtFloatString

DTWAIN_ArrayGetAtFloatStringA

DTWAIN_ArrayGetAtFloatStringW

Top  Previous  Next

The DTWAIN_ArrayGetAtFloatString function retrieves a DTWAIN_FLOAT value as a string.

 

DTWAIN_BOOL DTWAIN_ArrayGetAtFloatString (

DTWAIN_ARRAY

Array,

LONG

Index,

LPTSTR

pValue );

         

Parameters

Array

DTWAIN_ARRAY that the value will be retrieved from.

 

Position

Index of value to retrieve.

 

pValue

Character buffer that will receive the value.

 

Return Values

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

 

Character specific version

ANSI version:

DTWAIN_ArrayGetAtFloatStringA

Unicode version:

DTWAIN_ArrayGetAtFloatStringW


Comments

DTWAIN_ArrayGetAtFloatString works the same way as DTWAIN_ArrayGetAtFloat, with the difference being that the floating point value is returned as a string in the string buffer pValue.

 

This function is useful if the computer language used to write your application doesn't use or handle DTWAIN_FLOAT variable types correctly, and you want to call DTWAIN functions that use DTWAIN_FLOAT values.  

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

Retrieving Values from a DTWAIN_ARRAY