You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > TWAIN Features > TwainEndXfer Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.TwainEndXfer Method

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.

C#
public Boolean TwainEndXfer();
Visual Basic
Public Function TwainEndXfer() As Boolean
Returns

True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.

Before using this function check that the TWAIN state is 7 (TWAIN_TRANSFERRING). 

To get the TWAIN state, use the TwainGetState() function.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.