Click or drag to resize

TwainReturnCode Enumeration

These values are returned from Twain and the device. The LastReturnCode property of the Device object provides this value as do the methods in the TwainController class.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public enum TwainReturnCode
Members
  Member nameDescription
TWRC_CANCEL Transfer was canceled.
TWRC_CHECKSTATUS Partially successful operation. This can happen if the device doesn't support the exact value passed in and modified it to the nearest supported value.
TWRC_CUSTOMBASE Custom return codes must be greater than this value.
TWRC_DATANOTAVAILABLE Data for the requested information is not available.
TWRC_DSEVENT Indicates that an event or Windows message belongs to the device. This is used when watching for device events in the window message loop.
TWRC_ENDOFLIST Indicates the last device has been reached when getting a list of devices from Twain.
TWRC_FAILURE The operation failed. Use GetConditionCode for more information.
TWRC_INFONOTSUPPORTED The type of information requested is not supported by the device.
TWRC_NOTDSEVENT Indicates that an event or Windows message does not belong to the device. This is used when watching for device events in the window message loop.
TWRC_SUCCESS The operation was a success.
TWRC_XFERDONE The transfer operation has finished.
See Also