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