DTWAIN_IsAutoFeedEnabled

Top  Previous  Next

The DTWAIN_IsAutoFeedEnabled function checks if the document feeder has been enabled for acquiring images.

 

DTWAIN_BOOL DTWAIN_IsAutoFeedEnabled ( DTWAIN_SOURCE Source );

 

 

Parameters

Source

Specifies an open TWAIN Source.

 

Return Values

If the automatic feed mode of the document feeder has been enabled, TRUE is returned.  Otherwise FALSEis returned.

 

Comments

The DTWAIN_IsAutoFeedEnabled function takes the open Source Source, and checks to see if the auto-feed mode of a document feeder has been enabled.   If the return value is TRUE, the document feeder will automatically feed pages when acquiring.   If the return value is FALSE, either the document feeder itself has not been enabled with a call to DTWAIN_EnableFeeder, or the document feeder is enabled, but the auto-feed mode has been disabled with a call to DTWAIN_EnableAutoFeed with a FALSE value.

 

TWAIN State Transitions

The source must be opened in State 4

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function

 

 

See Also

Automatic Document Feeder Support