This method opens the scan datasource (scan device).

[Visual Basic] Public Function OpenDataSource() As Boolean
[C#] public bool OpenDataSource();

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The OpenDataSource method opens the datasource set in the DataSourceName property. If the DataSourceName property is blank, please execute the SelectDataSource method prior to executing the OpenDataSource method. (When the DataSourceName property is blank, null, or Nothing, the datasource is selected by the SelectDataSource method).

Note: After the OpenDataSource method has been executed, the datasource remains open until the CloseDataSource method is executed and other applications will not be able to be used.

Prior to executing the OpenDataSource and CloseDataSource methods, you must execute the Initialize method.

See Also

Scan Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation