SetFeederEnable

#include "BiTwain.h"

 

int CALLBACK SetFeederEnable (BOOL enable)

Description

This function specifies the scanning from the feeder.

Important: Before scanning, if the scanner specific driver user interface is enabled, the driver most likely will overwrite the feeder value set by this function.

Parameters

BOOL

enable

If TRUE, the scanning will start from the feeder.

Return values

Return TW_OK on success or an error code on failure.

Requirements

Header :     Declared in BiTwain.h; include BiTwain.h.

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.

SetKeepTwainScanDialogOpen

#include " BiTwain.h" 

void CALLBACK SetKeepTwainScanDialogOpen(BOOL bKeepDialogOpen)

Description

Sets that the Twain dialog of the scanner driver will close or remain open after the scanning. If not set the default value is FALSE.

Parameters

BOOL             bKeepDialogOpen      If TRUE the Twain dialog of the scanner will

remain open after the scanning (new scanning can be started from the Twain dialog).

If FALSE the Twain dialog of the scanner will close after the scanning.

Return values

            None.

Requirements

Header :    Declared in BiTwain.h; include BiTwain.h

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.