'Declaration Public Sub SetCapability( _ ByVal capability As ImGearCap, _ ByVal message As ImGearMessages _ )
'Usage Dim instance As ImGearTWAIN Dim capability As ImGearCap Dim message As ImGearMessages instance.SetCapability(capability, message)
public void SetCapability( ImGearCap capability, ImGearMessages message )
public: void SetCapability( ImGearCap* capability, ImGearMessages message )
public: void SetCapability( ImGearCap^ capability, ImGearMessages message )
Parameters
- capability
- Specifies the capability to change.
- message
Specifies whether to set or reset capability value(s).
Note: GET, GETCURRENT, and GETDEFAULT are invalid settings for the message parameter, and will result in an exception.