SetEnumItemAt  Method

Description         This method sets the specified value in the enumeration. Use AllocatememoryForArray method to allocate memory for enumeration.

Usage                  ret = [form.]TWAIN. SetEnumItemAt Enum ItemNum Value

Returns               ret                           BOOL             TRUE on success, otherwise FALSE.

Remarks             Enum                    LONGLONG   Handle to the enumeration.

                            ItemNum              Long                 Zero based integer. It determines the position in the enumeration. This value must be between 0 and GetNumOfItemsInEnum - 1.

                            Value                    Double              Numeric value to set.

Programing Notes

 

See Also          AllocatememoryForEnum Method, ReleaseData Method