PDA

View Full Version : Autofit a image



MrHalland
27-Dec-2009, 01:44 PM
Hi!

I have been struggeling to figure out on how to make an image fit into the container.
The image is very large and i want to zoom out to make it fit.

Any hint tips?

By the way, I want if possible, keep the aspect ratio.

Regards
Martin

MrHalland
18-Jan-2010, 09:59 AM
Any hints on how to do this?

Regards
Martin

jaarden
27-Jan-2010, 06:03 AM
use the property piZoom (default 100)
also play with the peImageStyle

Hope this helps...