TwainControllerSetCapabilityValue Method (DeviceCapability, RectangleF) |
Set a capability to a RectangleF 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 SetCapabilityValue(
DeviceCapability capability,
RectangleF value
)
Public Function SetCapabilityValue (
capability As DeviceCapability,
value As RectangleF
) As TwainReturnCode
Parameters
- capability
- Type: Atalasoft.TwainDeviceCapability
The capability to set. - value
- Type: System.DrawingRectangleF
The new value for the capability.
Return Value
Type:
TwainReturnCode The return code from the device.
Exceptions Exception | Condition |
---|
| Thrown if a connection to the device is not open. |
Remarks See Also