Click or drag to resize

DeviceLastReturnCode Property

Gets the last TwainReturnCode from getting or setting a property.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: (.NET 4.5.2, x86)
public TwainReturnCode LastReturnCode { get; }

Property Value

Type: TwainReturnCode
The last return code from getting or setting a property.

This property is used as a way to determine whether getting or setting a property value succeeded, rather than throwing an exception. By using a property it simplifies coding and there is no slow down when trying to access unsupported properties.

Use GetConditionCode to learn the reason for a failure.

See Also