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.
Public Function TwainGetLastResultCode() As TwainResultCode
public TwainResultCode TwainGetLastResultCode()
public function TwainGetLastResultCode(): TwainResultCode; 
public function TwainGetLastResultCode() : TwainResultCode;
public: TwainResultCode TwainGetLastResultCode(); 
TwainResultCode TwainGetLastResultCode(); 

Return Value

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


GdPictureImaging Class
GdPictureImaging Members
TwainGetLastConditionCode Method
TwainGetState Method