GdPicture.NET Reference Guide
TwainGetLastResultCode Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : TwainGetLastResultCode Method
Returns the last result code from the last message sent to TWAIN.
Syntax
'Declaration
 
Public Function TwainGetLastResultCode() As TwainResultCode
public TwainResultCode TwainGetLastResultCode()
public function TwainGetLastResultCode(): TwainResultCode; 
public function TwainGetLastResultCode() : TwainResultCode;
public: TwainResultCode TwainGetLastResultCode(); 
public:
TwainResultCode TwainGetLastResultCode(); 

Return Value

A member of the TwainResultCode enumeration.
Remarks
If the result is not TWRC_SUCCESS, you can use the TwainGetLastConditionCode() method to check the reason on this result.
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
TwainGetLastConditionCode Method
TwainGetState Method