GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / TwainGetSourceManufacturer Method / TwainGetSourceManufacturer(IntPtr,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.
The number of the source. Must be value between 1 and TwainGetSourceCount() return. If the value provided in not in the expected range a TwainError status is returned by a subsequent call of the GetStat() method.





In This Topic
TwainGetSourceManufacturer(IntPtr,Int32) Method
In This Topic
Returns the manufacturer of an available TWAIN source.
Syntax
'Declaration
 
Public Overloads Function TwainGetSourceManufacturer( _
   ByVal HANDLE As IntPtr, _
   ByVal SourceNo As Integer _
) As String
public string TwainGetSourceManufacturer( 
   IntPtr HANDLE,
   int SourceNo
)
public function TwainGetSourceManufacturer( 
    HANDLE: IntPtr;
    SourceNo: Integer
): String; 
public function TwainGetSourceManufacturer( 
   HANDLE : IntPtr,
   SourceNo : int
) : String;
public: string* TwainGetSourceManufacturer( 
   IntPtr HANDLE,
   int SourceNo
) 
public:
String^ TwainGetSourceManufacturer( 
   IntPtr HANDLE,
   int SourceNo
) 

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.
SourceNo
The number of the source. Must be value between 1 and TwainGetSourceCount() return. If the value provided in not in the expected range a TwainError status is returned by a subsequent call of the GetStat() method.

Return Value

The name of the source.
See Also