DTwainSource::EnableDuplex

Top  Previous  Next

Syntax

bool EnableDuplex( bool bEnable = true ) const;

 

Parameters

bEnable

true enables duplex scanning mode, false disables duplex scanning mode.

 

Return Value

true if successful, false if unsuccessful.

 

Comments

DTwainSource::EnableDuplex enables or disables the Twain drivers duplexer depending on the bEnable parameter.  If bEnable is true, then duplex scanning will be used, else it is turned off.  

 

Please note: If using DTwainAcquirer::Acquire( ) to start the acquisition process, you must use the DTwainAcquirer::EnableDuplex to enable the duplex unit.   The DTwainSource::EnableDuplex is only used if you are using the normal DTWAIN function calls to acquire an image (i.e. DTWAIN_AcquireFile, DTWAIN_AcquireNative, etc.).