GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainEnableDuplex Method
Set True to enable duplex mode else False.





In This Topic
TwainEnableDuplex Method (GdPictureImaging)
In This Topic
Asks to the opened source to enable or disable the duplex scanning mode.
Syntax
'Declaration
 
Public Function TwainEnableDuplex( _
   ByVal Duplex As Boolean _
) As Boolean
public bool TwainEnableDuplex( 
   bool Duplex
)
public function TwainEnableDuplex( 
    Duplex: Boolean
): Boolean; 
public function TwainEnableDuplex( 
   Duplex : boolean
) : boolean;
public: bool TwainEnableDuplex( 
   bool Duplex
) 
public:
bool TwainEnableDuplex( 
   bool Duplex
) 

Parameters

Duplex
Set True to enable duplex mode else False.

Return Value

True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
Remarks
Before using this method check that the TWAIN state is >= 4 (TWAIN_SOURCE_OPEN). To get the back of the acquired image, just another time an acquisition method. To get the TWAIN state, use the TwainGetState() method.
See Also