IsOperationSupported  Method

Description         This method retrives the specified operation is supported or not by the scanner.

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

Returns               ret                           Short               Value of the capability. The method returns -1 on error, 0 if operation is not supported >0 if operation is supported.

Remarks             lCap                      Long                 Capability ID. For example CAP_FEEDERENABLED.

                            lMsg                      Long                 MSG_GET, MSG_GETCURRENT, MSG_GETDEFAULT, MSG_RESET, MSG_SET

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

 

See Also          SetCapabilityOneNumValue Method, SetCapabilityOneStrValue Method