Accusoft.TwainProSdk Namespace > TwainDevice Class > GetCapability Method : GetCapability(Capability) Method |
'Declaration Public Overloads Function GetCapability( _ ByVal capability As Capability _ ) As CapabilityContainer
'Usage Dim instance As TwainDevice Dim capability As Capability Dim value As CapabilityContainer value = instance.GetCapability(capability)
public CapabilityContainer GetCapability( Capability capability )
public: CapabilityContainer* GetCapability( Capability capability )
public: CapabilityContainer^ GetCapability( Capability 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.