In This Topic
GdPicture14 Namespace / GdPictureImaging Class / TwainEndAllXfers Method

TwainEndAllXfers Method (GdPictureImaging)

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

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) 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