GetCapabilityRange  Method

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

Usage                  ret = [form.]TWAIN. GetCapabilityRange lCap lMsg

Returns               ret                           LONGLONG Handle to the range.

Remarks             lCap                      Long                 Capability ID. For example ICAP_BRIGHTNESS.

                            lMsg                      Long                 MSG_GET, MSG_GETCURRENT or MSG_GETDEFAULT

Programing Notes     See ErrorCode property for error. If operation succeded the error code will be TW_OK.

 

See Also          SetCapabilityNumRange Method, ReleaseData Method