See Also Examples Applies To
Try to enable or disable the Source’s automatic document feeding process.
If you enable autofeed scanning, this function 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. True to enable automatic document feeding, else False. |
Returns
Boolean. TRUE if successful, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.
Remarks
This function can returns FALSE with HP scanners with ADF.
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