Click or drag to resize

DeviceGetConditionCode Method

Returns the condition code from the last Twain operation. This can provide more information about a failure when getting or setting a Device property.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: (.NET 4.5.2, x86)
public TwainConditionCode GetConditionCode()

Return Value

Type: TwainConditionCode
A condition code providing more information about the last Twain operation.
Thrown if the source manager is not open.
This method is useful if the LastReturnCode property is not TWRC_SUCCESS after getting or setting a property.
See Also