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