SetCapabilityNumRange  Method

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

Usage                  ret = [form.]TWAIN. SetCapabilityNumRange lCap dMin dMax dStep dCur dDef

Returns               ret                           Long                Returns the error code.

Remarks             lCap                      Long                 Capability ID. For example ICAP_BRIGHTNESS.

                            dMin                     Double              Minimum value of capability to set.

                            dMax                    Double              Maximum value of capability to set.

                            dStep                     Double              Step value of capability to set.

                            dCur                     Double              Current value of capability to set.

                            dDef                      Double              Default value of capability to set.

 

Programing Notes

 

See Also          GetCapabilityRange Method