'Declaration Public Function GetCapability( _ ByVal id As ImGearCapabilities, _ ByVal message As ImGearMessages _ ) As ImGearCap
'Usage Dim instance As ImGearTWAIN Dim id As ImGearCapabilities Dim message As ImGearMessages Dim value As ImGearCap value = instance.GetCapability(id, message)
public ImGearCap GetCapability( ImGearCapabilities id, ImGearMessages message )
public: ImGearCap* GetCapability( ImGearCapabilities id, ImGearMessages message )
public: ImGearCap^ GetCapability( ImGearCapabilities id, ImGearMessages message )
Parameters
- id
- ID of the capability to get information about.
- message
- Can be on of the following values:ImGearMessages.GET - Get one or more capability values.ImGearMessages.GETCURRENT - Get current capability value.ImGearMessages.GETDEFAULT - Get default (e.g. power up) capability value.
Return Value
One of the capability objects containing information about the requested capability.