DTWAIN_ArrayFindFloatString
|
DTWAIN_ArrayFindFloatString DTWAIN_ArrayFindFloatStringA DTWAIN_ArrayFindFloatStringW |
|
The DTWAIN_ArrayFindFloatString function searches for a DTWAIN_FLOAT value in a DTWAIN_ARRAY.
LONG DTWAIN_ArrayFindFloat (
Parameters Array DTWAIN_ARRAY to search.
Value value to search for
Tolerance Tolerance level to use when determining equality.
Return Values If the function succeeds, the zero-based position of the element is returned. On failure, a -1 is returned if the element cannot be found, or another error has been encountered. Call DTWAIN_GetLastError() to get extended information.
Character specific version
Comments DTWAIN_ArrayFindFloatString works the same way as DTWAIN_ArrayFindFloat, with the difference being that Value and Tolerance are string versions of the DTWAIN_FLOAT value, i.e. "65.7" instead of 65.7.
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)
See Also Adding, Setting, and Inserting elements in a DTWAIN_ARRAY
|