GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainGetSourceCount Method / TwainGetSourceCount(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.





In This Topic
TwainGetSourceCount(IntPtr) Method
In This Topic
Returns the number of sources available.
Syntax
'Declaration
 
Public Overloads Function TwainGetSourceCount( _
   ByVal HANDLE As IntPtr _
) As Integer
public int TwainGetSourceCount( 
   IntPtr HANDLE
)
public function TwainGetSourceCount( 
    HANDLE: IntPtr
): Integer; 
public function TwainGetSourceCount( 
   HANDLE : IntPtr
) : int;
public: int TwainGetSourceCount( 
   IntPtr HANDLE
) 
public:
int TwainGetSourceCount( 
   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

Number of sources available.
See Also