Picturebox resize image

VBnetster

Active member
Joined
Feb 15, 2008
Messages
32
Programming Experience
Beginner
Hi all

I'm making a small app so i can view images in a folder but the images are bigger than the picturebox and thats a problem. Is there some way (i know there is) that i can resize the image to fit the picturebox? I tried some codes from google but nothing seems to work:(
 
I would suggest setting the SizeMode to Zoom rather than StretchImage. That way you will maintain the original aspect ratio. If that's not important then maybe StretchImage would be better.
 
Back
Top