Gets and sets which Twain capability to negotiate.
Read-write property
Visual Basic |
---|
Public Property Capability As TP_Capability |
A TP_Capability enumeration value which determines the Twain capability.
This is a runtime-only property. There are no properties or methods unique to a capability such as SetBrightness. All capabilities use the same set of methods to negotiate their values.
TwainPRO1.Capability = TWCAP_BRIGHTNESS
TwainPRO1.CapTypeOut = TWCAP_ONEVALUE
TwainPRO1.CapValueOut = 500
TwainPRO1.SetCapOut