I was wondering how I could write code to resize a picture box image that will allow the image to scale with the size of the form without stretching beyond its normal aspect ratio. In other words, I don't want it looking squashed.
I already have code that handles resizing the picture box control as the form is resized, but at present I simply have the image in the box remain unchanged, which results in parts of large images not being visible in the picture box. I want to do this so I can scale those big images down properly to fit the current window size.
I'm asking this because I've been fiddling with scrollbars for two hours and have accomplished very little
Any help would be greatly appreciated.