Zooming Various Size image to fixed pictureBox without changing the image ratio

Yup!I need to scale different size image into a fixed picturebox. Without changing the image height vs width ratio.any of you can help me? thanks.
1)scale the image as big as possible depending the fixed picture box height or width.

I use the loadpicture function in loading picture.
If I use the image control, I found the stretch function will cause the image height and width ratio change.

thanks
[426 byte] By [sooner] at [2007-11-20 11:48:21]
# 1 Re: Zooming Various Size image to fixed pictureBox without changing the image ratio
Do a search on zoom :
http://www.dev-archive.com/forum/search.php?
HanneSThEGreaT at 2007-11-9 19:32:16 >
# 2 Re: Zooming Various Size image to fixed pictureBox without changing the image ratio
Yup!
Finally I did it!!
it is a matter of calculation!!
Thank you!!!
sooner at 2007-11-9 19:33:25 >