SetCapabilityNumEnum  Method

Description         This method specifies the value of the capability. You should use this method if the capability type is TWON_ENUM and type of the value is numeric.

Usage                  ret = [form.]TWAIN. SetCapabilityNumEnum lCap Enum CurIdx DefIdx

Returns               ret                           Long                Returns the error code.

Remarks             lCap                      Long                 Capability ID.

                            Enum                    LONGLONG   Handle to the enumeration allocated by BiTwain methods.

                            CurIdx                  Short                 Index of the current value in the enumeration.

                            DefIdx                  Short                 Index of the default value in the enumeration.

Programing Notes

 

See Also          GetCapabilityEnum Method, ReleaseData Method, SetEnumItemAt Method,

AllocateMemoryForEnum Method