SetDuplexEnable

#include "BiTwain.h"

 

int CALLBACK SetDuplexEnable (BOOL enable)

Description

This function specifies the scanning. If parameter is TRUE, the scanner scans both sides of the paper, otherwise just one side of the image.

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.