TwainControllerGetCapabilityValue Method (DeviceCapability, Int32) |
Reads an Int32 capability value.
Namespace:
Atalasoft.Twain
Assembly:
Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public TwainReturnCode GetCapabilityValue(
DeviceCapability capability,
out int value
)
Public Function GetCapabilityValue (
capability As DeviceCapability,
<OutAttribute> ByRef value As Integer
) As TwainReturnCode
Parameters
- capability
- Type: Atalasoft.TwainDeviceCapability
The capability to retrieve. - value
- Type: SystemInt32
An Int32 that will be filled when the method returns.
Return Value
Type:
TwainReturnCode The code returned from the device. If this returns TWRC_FAILURE use GetConditionCode to
determine why the request failed.
Exceptions Exception | Condition |
---|
| Thrown if a connection to the device is not open. |
Examples GetCapabilityValue Method
See Also