I'm working on a report with a photo at the top of each page.  The photo files 
are all .jpgs but some are landscape and some are portrait orientation.  I need 
to hold the original aspect ratio of the photo to avoid distortion (Scale 
contents but Retain shape.)  The picture box on the report is in landscape 
orientation.  When a photo with portrait orientation is rendered it is 
positioned to have its left edge line up with the left edge of the picture box 
on the report.  I want to change the left bound of the picture box on the fly 
based on the aspect ratio of the picture being printed to cause the picture to 
be centered above its caption.
 
I understand it is possible to do this sort of thing with report listeners but 
haven't figured out how to access the properties of the objects on the report.  
Another thing I will need is a way to find the width and height of the photo.  
I assume this is probably available via an API but maybe VFP has functions to 
do it as well.
 
Thanks in advance for any help!
 
Joe Yoder


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to