Accusoft.TwainPro8.Net
IsCapabilitySupported(AdvancedCapability) Method
See Also  Send Feedback
Accusoft.TwainProSdk Namespace > TwainDevice Class > IsCapabilitySupported Method : IsCapabilitySupported(AdvancedCapability) Method




capability
A TWAIN Capability

Glossary Item Box

Determines if the current capability is supported by the TWAIN device.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 
'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)

Parameters

capability
A TWAIN Capability

Return Value

Whether or not the capability is supported

Remarks

This method should be checked before calling the GetCapability method. Attempting to get a capability that isn't supported will generate an error.

See Also

©2013. Accusoft Corporation. All Rights Reserved.