ImageGear22.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : SetCapability Method |
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.
'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 )
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.
Prior to calling this method, use OpenSource to select the desired Data Source.