ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Scanner settings
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Zerocool

South Africa
10 Posts

Posted - Sep 19 2013 :  05:56:21  Show Profile  Reply
Hi guys, I have a TImageEnMView component, and I want to get the scanners dpi setting to be saved with the images.

I know I can get the settings via:
(but what is after the last point ?
TImageEnMView .MIO.Params[x]. ???

Hope my question makes sense

Zerocool

South Africa
10 Posts

Posted - Sep 19 2013 :  06:28:05  Show Profile  Reply
I thin it is the following:

TImageEnMView .MIO.Params[x].dpix := ??
TImageEnMView .MIO.Params[x].dpiy := ??

Go to Top of Page

Zerocool

South Africa
10 Posts

Posted - Sep 19 2013 :  06:56:17  Show Profile  Reply
To answer my own question:

TImageEnMView.MIO.Params[_idx].DpiX := Trunc(iemIOPages.TWainParams.XResolution.CurrentValue);
TImageEnMView .MIO.Params[_idx].DpiY := Trunc(iemIOPages.TWainParams.YResolution.CurrentValue);
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: