GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / TwainEndXfer Method





In This Topic
TwainEndXfer Method (GdPictureImaging)
In This Topic
Signals the Data Source to stop the current transfer. Go to either State 6 (TWAIN_TRANSFER_READY) if it has more transfers ready, or to State 5 (TWAIN_SOURCE_ENABLED) if it does not.
Syntax
'Declaration
 
Public Function TwainEndXfer() As Boolean
public bool TwainEndXfer()
public function TwainEndXfer(): Boolean; 
public function TwainEndXfer() : boolean;
public: bool TwainEndXfer(); 
public:
bool TwainEndXfer(); 

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