Accusoft.TwainProSdk Namespace > TwainDevice Class > IsCapabilitySupported Method : IsCapabilitySupported(Capability) Method |
'Declaration Public Overloads Function IsCapabilitySupported( _ ByVal capability As Capability _ ) As Boolean
'Usage Dim instance As TwainDevice Dim capability As Capability Dim value As Boolean value = instance.IsCapabilitySupported(capability)
public bool IsCapabilitySupported( Capability capability )
public: bool IsCapabilitySupported( Capability capability )
public: bool IsCapabilitySupported( Capability capability )
This method should be checked before calling the GetCapability method. Attempting to get a capability that isn't supported will generate an error.