Picture Box proportional to original image.
Hello,
I have 3 things to consider here, one is source image, form and picture box.
My picture or image on the form must be proportional in size to the original image.This image on form should be proportional even during resizeing of the form.
For example if the origianal image is square in shape, my image on form must always be square .
if original image is rectangle with width > height by 10 times, my image on form ,nothing but
pictureBox1.size.width / picturebox1.height = 10.... even on RESIZING. How to do it.
Thanks in advance.
|