TwainSetAutoFeed Method

See Also     Examples     Applies To

Try to enable or disable autofeed scanning. This method selects the feeder, so to start scanning pages from an ADF, just do: TWAINSetAutoFeed(TRUE).

Syntax

object.TwainSetAutoFeed (bAutoFeed)

The TwainSetAutoFeed syntax has these parts:

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

Returns

Boolean. TRUE if successful, FALSE otherwise.

Remarks

This method can returns FALSE with HP scanners with ADF.
Before using this method check that the TWAIN state is TWAIN_SOURCE_OPEN (4)
To get the TWAIN state, use the TwainGetState() method.

Category

TWAIN Capability





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.