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
 Aspect ratio on PrintImagePos
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

fyaklin

USA
6 Posts

Posted - Jan 22 2021 :  16:14:11  Show Profile  Reply
According to the documentation, TImageEnIo.PrintImagePos will maintain the aspect ratio of the image. I cannot get this to happen.


ImageBox->PrintingMaintainAR = true;
ImageBox->PrintImagePos(NULL, 2, 2, 2, 1);
ImageBox->PrintImage(NULL, 5.00, 1.25, .50, 6, ievpTop, iehpCenter, iesFitToPage, 0, 0, 1, false);


The PrintImage function will maintain it, but the PrintImagePos is stretched. I have been using the PrintImage, but I would rather use PrintImagePos (specifying the border rather than the physical dimensions just seems a little odd). What am I doing wrong?

fyaklin

USA
6 Posts

Posted - Jan 22 2021 :  17:38:05  Show Profile  Reply
I used PrintingMaintainAR - it's still not printing correctly. I am using C++ Builder 10.4.1 w/ImageEn 9.3.0

Frederick J. Yaklin III
Go to Top of Page

xequte

38611 Posts

Posted - Jan 23 2021 :  14:57:51  Show Profile  Reply
Sorry Frederick, despite it being suggested in the documentation, PrintImagePos does not actually support PrintingMaintainAR. I will add support for it now. Please email me for an update.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: