Accusoft.TwainProSdk Namespace > TwainDevice Class > GetCapability Method : GetCapability(Int32) Method |
'Declaration Public Overloads Function GetCapability( _ ByVal capability As Integer _ ) As CapabilityContainer
'Usage Dim instance As TwainDevice Dim capability As Integer Dim value As CapabilityContainer value = instance.GetCapability(capability)
public CapabilityContainer GetCapability( int capability )
public: CapabilityContainer* GetCapability( int capability )
public: CapabilityContainer^ GetCapability( int capability )
This method will return a CapabilityContainerOneValue, CapabilityContainerEnum, CapabilityContainerRange, or CapabilityContainerArray object of type CapabilityContainer which can be casted to the appropriate child object to access the capability information.