This method selects the scan device.

[Visual Basic] Public Function SelectDataSource() As Newtone.ImageKit.WPF.DataSourceInformation
[C#] public Newtone.ImageKit.WPF.DataSourceInformation SelectDataSource();

Return Value

The DataSourceInformation class (Returns null[C#] or Nothing[VB.NET] if unsuccessful or canceled.

Explanation

The SelectDataSource method selects the scan device. When this method is executed, the installed TWAIN drivers are listed in a dialog box and can be selected. If successful, information about the scan device is set in the following properties: Manufacturer, ProductFamily, ProductName, ProtocolMajor, ProtocolMinor, MajorVersion, MinorVersion, and Information of the DataSourceInformation class.

Prior to executing the SelectDataSource method, you must execute the Initialize method.

See Also

Scan Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation