GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainGetDefaultSourceName Method / TwainGetDefaultSourceName(IntPtr) 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. Returns the name of the default source: the source selected in the Select Source dialog.





In This Topic
TwainGetDefaultSourceName(IntPtr) Method
In This Topic
Returns the name of the default TWAIN source into the dialog of source selection.
Syntax
'Declaration
 
Public Overloads Function TwainGetDefaultSourceName( _
   ByVal HANDLE As IntPtr _
) As String
public string TwainGetDefaultSourceName( 
   IntPtr HANDLE
)
public function TwainGetDefaultSourceName( 
    HANDLE: IntPtr
): String; 
public function TwainGetDefaultSourceName( 
   HANDLE : IntPtr
) : String;
public: string* TwainGetDefaultSourceName( 
   IntPtr HANDLE
) 
public:
String^ TwainGetDefaultSourceName( 
   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. Returns the name of the default source: the source selected in the Select Source dialog.

Return Value

The default source name.
See Also