GdPicture.NET Reference Guide
TwainResetImageLayout Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : TwainResetImageLayout Method
Asks to the opened device to reset the area to scan, sometimes called the ROI (Region of Interest).
Syntax
'Declaration
 
Public Function TwainResetImageLayout() As Boolean
public bool TwainResetImageLayout()
public function TwainResetImageLayout(): Boolean; 
public function TwainResetImageLayout() : boolean;
public: bool TwainResetImageLayout(); 
public:
bool TwainResetImageLayout(); 

Return Value

True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
Remarks
Before using this method check that the TWAIN state is 4 (TWAIN_SOURCE_OPEN) To get the TWAIN state, use the TwainGetState() method.
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
TwainGetState Method
TwainSetImageLayout Method