GdPicture14 Namespace / GdPictureImaging Class / TwainEndAllXfers Method

In This Topic
TwainEndAllXfers Method (GdPictureImaging)
In This Topic
Signals the Data Source to stop all the transfers.
Public Function TwainEndAllXfers() As Boolean
public bool TwainEndAllXfers()
public function TwainEndAllXfers(): Boolean; 
public function TwainEndAllXfers() : boolean;
public: bool TwainEndAllXfers(); 
bool TwainEndAllXfers(); 

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 7 (TWAIN_TRANSFERRING) or 6 (TWAIN_TRANSFER_READY). If success, the twain state must be 5 (TWAIN_SOURCE_ENABLED). To get the TWAIN state, use the TwainGetState() method.
See Also