SetCapabilityOneStrValue  Method

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

Usage                  ret = [form.]TWAIN. SetCapabilityOneStrValue lCap lMsg szValue

Returns               ret                           Long                Returns the error code.

Remarks             lCap                      Long                 Capability ID. For example CAP_FEEDERENABLED.

                            lMsg                      Long                 MSG_SET or MSG_RESET

                            szValue                 String                String value to set.

Programing Notes

 

See Also          GetCapabilityOneValue Method