DTWAIN_ArrayFloatToString
|
The DTWAIN_ArrayFloatToString creates a DTWAIN_ARRAY of DTWAIN_ARRAYSTRING values from a DTWAIN_ARRAY of DTWAIN_FLOAT
DTWAIN_ARRAY DTWAIN_ArrayFloatToString ( DTWAIN_ARRAY Array )
Parameters Array A DTWAIN_ARRAY that holds DTWAIN_FLOAT values.
Return Values If the function succeeds, a new DTWAIN_ARRAY is returned that contains ANSI or wide string values. Otherwise, NULL is returned.
Comments The DTWAIN_ArrayFloatToString function returns a new DTWAIN_ARRAY that holds ANSI or wide string values that are equivalent to the DTWAIN_FLOAT values in the DTWAIN_ARRAY that was passed in. The returned array will be of type DTWAIN_ARRAYSTRING, which will hold ANSI strings if the DTWAIN DLL being used is ANSI, or the array will hold wide (Unicode) strings if the DTWAIN DLL in use is Unicode.
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 (for example DTWAIN_GetCapValues for capabilities that require floating point values). To specifically convert to a DTWAIN_ARRAY of ANSI characters, see DTWAIN_ArrayFloatToANSIString. To specifically convert to a DTWAIN_ARRAY of wide (Unicode) characters, see DTWAIN_ArrayFloatToWideString.
TWAIN State Transitions None.
Prerequisite Function Call(s)
|