T O P I C R E V I E W |
mastinf |
Posted - Feb 19 2025 : 08:32:29 Hello,
This is the situation:
the first image is acquired using the scanner interface:
img.io.TwainParams.VisibleDialog:=true;
in the scanner interface the user do a selection and acquires a partial frame.
Then next image acqusition is made without the scanner interface
img.io.TwainParams.VisibleDialog:=false;
In the second acquisition unfortunaltely it's still used the selection made in the scanner interface. Is it possible to clear the selection created in the scanner interface by code ?
thanks
Roberto
ImageEn 12.5.0
Roberto Nicchi Master Informatica Italy |
3 L A T E S T R E P L I E S (Newest First) |
mastinf |
Posted - Feb 22 2025 : 07:35:50 Ok i have found the solution looking into a demo application:
img.IO.TwainParams.SetDefaultParams; <--- This doesn't help img.io.TwainParams.AcquireFrameEnabled:=true; <---This line and the next one solve the problem img.IO.TwainParams.Update; img.io.TwainParams.VisibleDialog:=false; img.IO.Acquire;
Roberto Nicchi Master Informatica Italy |
mastinf |
Posted - Feb 22 2025 : 07:15:30 Hello,
I have just tried to execute the following code
img.IO.TwainParams.SetDefaultParams(); img.io.TwainParams.VisibleDialog:=false; img.IO.Acquire;
but it didn't help. I miss something?
thanks
Roberto
Roberto Nicchi Master Informatica Italy |
xequte |
Posted - Feb 20 2025 : 13:33:59 Hi Roberto
You can use:
https://www.imageen.com/help/TIETwainParams.SetDefaultParams.html
Nigel Xequte Software www.imageen.com
|