Home » Category » Microsoft Visual Basic

Microsoft Visual Basic: Zooming Various Size image to fixed pictureBox without changing the image ratio

202| Sun, 10 Feb 2008 11:48:00 GMT| sooner| Comments (2)
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

Keywords & Tags: zooming, various, size, image, fixed, picturebox, changing, ratio, microsoft, visual basic, vb

URL: http://www.programmerbase.com/visual-basic/560813/
 
«« Prev - Next »» 2 helpful answers below.
Do a search on zoom :
http://www.dev-archive.com/forum/search.php?

hannesthegreat | Fri, 09 Nov 2007 19:32:00 GMT |

Yup!
Finally I did it!!
it is a matter of calculation!!
Thank you!!!

sooner | Fri, 09 Nov 2007 19:33:00 GMT |

Microsoft Visual Basic Hot Answers

Microsoft Visual Basic New questions

Microsoft Visual Basic Related Categories