TwainEndAllXfers Method

See Also     Examples     Applies To

Signals the Data Source to stop all the transfers.

Syntax

object.TwainEndAllXfers ()

The TwainEndAllXfers syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.

Returns

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

Remarks

Before using this function 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() function.

Category

TWAIN Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.