DTWAIN_ArrayInsertAtFloatString

DTWAIN_ArrayInsertAtFloatStringA

DTWAIN_ArrayInsertAtFloatStringW

Top  Previous  Next

The DTWAIN_ArrayInsertAtFloatString inserts a DTWAIN_FLOAT value into a DTWAIN_ARRAY.

 

DTWAIN_BOOL DTWAIN_ArrayInsertAtFloatString (

DTWAIN_ARRAY

Array

LONG

Index

LPCTSTR

Value );

 

Parameters

Array

DTWAIN_ARRAY that the value will be inserted into.

 

Index

Position to place the inserted value

 

Value

A string that represents a floating point 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_ArrayInsertAtFloatStringA

Unicode version:

DTWAIN_ArrayInsertAtFloatStringW

 


Comments

DTWAIN_ArrayInsertAtFloatString works the same as DTWAIN_ArrayInsertAtFloat, with the difference being that the floating point value is represented as a string.


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

Adding, Setting, and Inserting elements in a DTWAIN_ARRAY