DTWAIN_ArrayFloatToANSIString

Top  Previous  Next

The DTWAIN_ArrayFloatToANSIString creates a DTWAIN_ARRAY of DTWAIN_ARRAYANSISTRING values from a DTWAIN_ARRAY of DTWAIN_FLOAT

 

DTWAIN_ARRAY DTWAIN_ArrayFloatToANSIString ( 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 string values.  Otherwise, NULL is returned.

 

Comments

The DTWAIN_ArrayFloatToANSIString function returns a new DTWAIN_ARRAY that holds ANSI string values that are equivalent to the DTWAIN_FLOAT values in the DTWAIN_ARRAY that was passed in.  

 

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 convert to a DTWAIN_ARRAY of wide (Unicode) characters, see DTWAIN_ArrayFloatToWideString.

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize