Accusoft.TwainPro9.Net
IsCapabilitySupported(Int32) Method




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

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

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback