TwainIsAutoScanAvailable Method

See Also     Examples     Applies To

Asks to the opened source if she can support the automatic scan capability.
This capability is intended to boost the performance of a Source.
The fundamental assumption behind AutoScan is that the device is able to capture images without waiting for the Application to request the image transfers.
The default behavior is undefined, because some high volume devices are incapable of anything but TwainIsAutoScanAvailable() return value being equal to TRUE.

Syntax

object.TwainIsAutoScanAvailable ()

The TwainIsAutoScanAvailable 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 support the automatic scan, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.

Remarks

Before using this function check that the TWAIN state is TWAIN_SOURCE_OPEN (4)
To get the TWAIN state, use the TwainGetState() function.

Category

TWAIN Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.