Code: Select all
SetupSource()
After the user closes this dialog box, I open the datasource and query the scanner for it's capabilities. These capabilities do not appear to save from the SetupSource() function call. For example, if the user specifies single-sided page scanning in SetupSource, then I am still getting double-sided scanning when I query the scanner capabilities.
I don't want to use a user interface, because the user should be able to set the settings once, and then scan repeatedly without a UI.
How can SetupSource() be used so that those values are used when I query the scanner for its capabilities?
Thanks,