DTWAIN_ArrayInsertAtFloatStringN

DTWAIN_ArrayInsertAtFloatStringNA

DTWAIN_ArrayInsertAtFloatStringNW

Top  Previous  Next

The DTWAIN_ArrayInsertAtFloatStringN inserts N copies of a DTWAIN_FLOAT value into a DTWAIN_ARRAY.

 

DTWAIN_BOOL DTWAIN_ArrayInsertAtFloatStringN (

DTWAIN_ARRAY

Array

LONG

Index

LPCTSTR

Value 

LONG

NumCopies );

 

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.

 

NumCopies

Number of copies of Value to add to the array.


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_ArrayInsertAtFloatStringNA

Unicode version:

DTWAIN_ArrayInsertAtFloatStringNW

 


Comments

DTWAIN_ArrayInsertAtFloatStringN works the same as DTWAIN_ArrayInsertAtFloatN, 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