GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / TwainShowSetupDialogSource Method / TwainShowSetupDialogSource(Int32) Method
A Window Handle IE: Me.Handle. In most applications you can use nothing but on Citrix and WTS, this must be a top-level window or a child of a top level window.





In This Topic
TwainShowSetupDialogSource(Int32) Method
In This Topic
Starts the selected device's settings dialog, if this is supported.
Syntax
'Declaration
 
Public Overloads Function TwainShowSetupDialogSource( _
   ByVal HANDLE As Integer _
) As Boolean
public bool TwainShowSetupDialogSource( 
   int HANDLE
)
public function TwainShowSetupDialogSource( 
    HANDLE: Integer
): Boolean; 
public function TwainShowSetupDialogSource( 
   HANDLE : int
) : boolean;
public: bool TwainShowSetupDialogSource( 
   int HANDLE
) 
public:
bool TwainShowSetupDialogSource( 
   int HANDLE
) 

Parameters

HANDLE
A Window Handle IE: Me.Handle. In most applications you can use nothing but on Citrix and WTS, this must be a top-level window or a child of a top level window.

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 TWAIN state, use the TwainGetState() method. You can use the TwainUserClosedSource method to determine if the user pressed the Cancel button of the displayed interface.
See Also