GdPicture.NET Reference Guide
GetStat Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : GetStat Method
Returns the status of the last executed operation with the current GdPictureImaging object.
Syntax
'Declaration
 
Public Function GetStat() As GdPictureStatus
public GdPictureStatus GetStat()
public function GetStat(): GdPictureStatus; 
public function GetStat() : GdPictureStatus;
public: GdPictureStatus GetStat(); 
public:
GdPictureStatus GetStat(); 

Return Value

A member of the GdPictureStatus enumeration. If the last executed GdPictureImaging method has been successfully followed, then the return value is GdPictureStatus.OK.

We strongly recommend always checking this status first.

Remarks
Use this method in the combination with all those, which return a value instead of a status, for example all CreateGdPictureImageFrom... methods.

Please note that to identify possible printing errors you should use the PrintGetLastError method and to identify possible TWAIN errors you should use the TwainGetLastResultCode method.

See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
GetLastPath Method
PrintGetLastError Method
GetLastTransferError Method
TwainGetLastResultCode Method
TwainGetLastConditionCode Method