This property sets the name of the scan device. This property is only enabled when using a custom-built user interface (UerInterface=Suppress).

[Visual Basic]Public Property DataSourceName As String
[C#]public string DataSourceName {set;}

Property Value

The name of the scan device

Explanation

The DataSourceName property sets the name of the scan device. This property is only enabled when using a custom-built user interface (UerInterface=Suppress). The DataSourceName property must be set prior to executing the OpenDataSource or the Execute methods. However, if the Execute method is executed after the OpenDataSource method then the DataSourceName property value will be disregarded. If the DataSourceName property is not set, the scan device selected by the SelectDataSource method will be used.

See Also

Scan Class | Scan Members

The ImageKit.NET3 is created by Newtone Corporation