Dynamsoft Home|Product Home

Capability Negotiation Operation Types

There are 5 capability negotiation operation types defined by Dynamic TWAIN: CapGet(), CapGetCurrent(), CapGetDefault(), CapSet(), CapReset().

CapGet() Returns the Source's Current, Default and Available Values for a specified capability.

These values reflect previous CapSet() operations on the capability, or Source's automatic changes.

CapGetCurrent() Returns the Source's Current Value for the specified capability.
The Current Value reflects previous CapSet() operations on the capability, or Source's automatic changes.

CapGetDefault() Returns the Source's Default Value. This is the Source's preferred default value.

The Source's Default Value cannot be changed.

CapSet() Changes the Current Value(s) and Available Values of the specified capability to those specified by the application.

Current Values are set when the container is a TW_ONEVALUE or TW_ARRAY. Available and Current Values are set when the container is a TW_ENUMERATION or TW_RANGE.

CapReset() Change the Current Value of the specified capability back to its power-on value.

See Also

CapType property