TwainControllerSetCapabilityArray Method |
Sets an array of values for a specific capability to the device.
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 SetCapabilityArray(
DeviceCapability capability,
Object array
)
Public Function SetCapabilityArray (
capability As DeviceCapability,
array As Object
) As TwainReturnCode
Parameters
- capability
- Type: Atalasoft.TwainDeviceCapability
The capability being set. - array
- Type: SystemObject
An array of data to send to the device.
Return Value
Type:
TwainReturnCode The return code from the device.
Exceptions Exception | Condition |
---|
| Thrown if a connection to the device is not open. |
| Thrown if the array parameter is not a valid object array. |
| Thrown if the method is unable to allocate memory needed for the operation. |
See Also