Click or drag to resize

TwainControllerSetCapabilityValue Method (DeviceCapability, String)

Sets a capability to a String 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,
	string value
)

Parameters

capability
Type: Atalasoft.TwainDeviceCapability
The capability to set.
value
Type: SystemString
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