Sets a TWAIN Capability in the current scanner session.
- Specifies the Capability to set.
- A Variant containing the Value the Capability should be set to.
- The TWAIN Datatype of the Capability.
Returns True if the Set Capability was successful, otherwise returns false.
If the Set Capability fails the method will return False and the LastError property will be set to an Error object describing the error that occurred.