GdPicture14 Namespace / GdPictureImaging Class / TwainResetImageLayout Method

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