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).
Public Function TwainResetImageLayout() As Boolean
public bool TwainResetImageLayout()
public function TwainResetImageLayout(): Boolean; 
public function TwainResetImageLayout() : boolean;
public: bool TwainResetImageLayout(); 
bool TwainResetImageLayout(); 

Return Value

True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
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


GdPictureImaging Class
GdPictureImaging Members
TwainGetState Method
TwainSetImageLayout Method