You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > TWAIN Features > TwainGetSourceName Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.TwainGetSourceName Method

Returns the name of an available TWAIN source.

C#
public String TwainGetSourceName(
    IntPtr HANDLE, 
    int SourceNo
);
Visual Basic
Public Function TwainGetSourceName(
    ByVal HANDLE As IntPtr, 
    ByVal SourceNo As Integer
) As String
Parameters
Parameters 
Description 
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.  
Returns

The name of the source.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.