Accusoft.TwainPro9.Net
IsCapabilitySupported(Capability) Method




A TWAIN Capability
Determines if the current capability is supported by the TWAIN device.
Syntax
'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
) 

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

Reference

TwainDevice Class
TwainDevice Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback