I am using Delphitwain (delphitwain.sourceforge.net) to add scan features to my application. Everything was fine, when I click the scan button in my application, it will show the scanning mode with scanner properties such as Page Size, Scanning Side (canon dr-3010c), as well as the Scan and Cancel buttons. If I click, of course, all the properties back to it.
How to show Scanner properties only for changing properties without scanning, since I can scan without displaying properties
Twain.LoadLibrary;
Twain.LoadSourceManager;
Twain.Source[CurrentSource].Loaded := TRUE;
Twain.Source[CurrentSource].TransferMode := TTwainTransferMode(0);
Twain.Source[CurrentSource].EnableSource(True, True);
while Twain.Source[CurrentSource].Enabled do Application.ProcessMessages;
Twain.UnloadLibrary;
Twain.Source [CurrentSource] .EnableSource (True, True);
The first True for ShowUI and the second True for Modal
, , , , , google , , , , delphitwain ? ,