Click or drag to resize

TwainControllerSetCapabilityValue Method (DeviceCapability, Int32)

Sets a capability to an Int32 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,
	int value
)

Parameters

capability
Type: Atalasoft.TwainDeviceCapability
The capability to set.
value
Type: SystemInt32
The new value for the capability.

Return Value

Type: TwainReturnCode
The return code from the device.
Exceptions
ExceptionCondition
Thrown if a connection to the device is not open.
Remarks
Use GetCapabilityType(DeviceCapability) to determine the value type that should be used for a specific capability.
See Also