GdPicture.NET Reference Guide
TwainStopFeeder Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : TwainStopFeeder Method
If auto scan is turned ON, this command will stop the operation of the scanner’s automatic feeder. No other action is taken. The application may then continue to transfer any images that have been captured by the scanner.
Syntax
'Declaration
 
Public Function TwainStopFeeder() As Boolean
public bool TwainStopFeeder()
public function TwainStopFeeder(): Boolean; 
public function TwainStopFeeder() : boolean;
public: bool TwainStopFeeder(); 
public:
bool TwainStopFeeder(); 

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 6 (TWAIN_TRANSFER_READY). To get the TWAIN state, use the TwainGetState() method.
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
TwainGetState Method
TwainSetAutoScan Method