GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainGetDuplexMode Method





In This Topic
TwainGetDuplexMode Method (GdPictureImaging)
In This Topic
Returns the duplex scanning support.
Syntax
'Declaration
 
Public Function TwainGetDuplexMode() As Integer
public int TwainGetDuplexMode()
public function TwainGetDuplexMode(): Integer; 
public function TwainGetDuplexMode() : int;
public: int TwainGetDuplexMode(); 
public:
int TwainGetDuplexMode(); 

Return Value

Can be: 0 = no support (or error) -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error. 1 = 1-pass duplex 2 = 2-pass duplex
Remarks
Before using this method check that the TWAIN state is >= 4 (TWAIN_SOURCE_OPEN) To get the TWAIN state, use the TwainGetState() method.
See Also