[RESOLVED] Picturebox: Stretch & Lock perspective(ratio)
I get how to stretch an image in the picturebox, that's easy. Now how to make sure it keeps that original ratio, so it's not distorted? Maybe it's as simple as a different setting on the picturebox? Maybe I am mistaken and want to use a different tool? :sick:
Re: Picturebox: Stretch & Lock perspective(ratio)
http://img227.imageshack.us/img227/4456/ex1j.jpg
http://img830.imageshack.us/img830/677/ex2eb.jpg
Is this what your referring to? I don't fully understand what your asking, upload some pics of what happening. What's causing the ratio to change?
Re: Picturebox: Stretch & Lock perspective(ratio)
Take a look at the SizeMode property.
Re: Picturebox: Stretch & Lock perspective(ratio)
I'm trying to be able to stretch the picture while keeping its ratio. Ie if the picture was 100x200, I want to keep the 1:2 ratio, so if the picturebox is 400x400, I want it to fit into it 200x400. But I think I just figured it out, I think I don't want the 'Stretch Image', I want the 'Zoom'.
Re: Picturebox: Stretch & Lock perspective(ratio)
Yea, 'Zoom' was what I wanted, I thought I tried that... I mean I re-tried it when you suggested. Well, thanks for making me think :) [Resolved]