ImageMan ActiveX
Displaying Available Scanners

One method is by invoking the SelectScanner method will display the TWAIN source select dialog. This allows the end user to select which device they wish to scan with. Note that when the select dialog is loaded, the source that is highlighted when dialog is closed will be the CurrentSource, even if the user selects Cancel.


The second way to display the available scanners is to use the Sources property. This Collection contains the names of all the installed TWAIN devices. The collection contains Sources.Count number of entries.



© 2014 Data Techniques, Inc. All rights reserved.

Submit feedback on this topic