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
GdPicture14 Namespace / GdPictureImaging Class / TwainShowSetupDialogSource Method / TwainShowSetupDialogSource(IntPtr) Method

TwainShowSetupDialogSource(IntPtr) Method

In This Topic
Starts the selected device's settings dialog, if this is supported.
Syntax
'Declaration
 
Public Overloads Function TwainShowSetupDialogSource( _
   ByVal HANDLE As IntPtr _
) As Boolean
public bool TwainShowSetupDialogSource( 
   IntPtr HANDLE
)
public function TwainShowSetupDialogSource( 
    HANDLE: IntPtr
): Boolean; 
public function TwainShowSetupDialogSource( 
   HANDLE : IntPtr
) : boolean;
public: bool TwainShowSetupDialogSource( 
   IntPtr HANDLE
) 
public:
bool TwainShowSetupDialogSource( 
   IntPtr 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