Reference Guide
GdPicture14 Namespace / GdPictureImaging Class / TwainGetLastResultCode Method





In This Topic
    TwainGetLastResultCode Method (GdPictureImaging)
    In This Topic
    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