Not able to display a Large Image in relatively small picture box
i m working on a small software,in which i have to display visiting card of a client in a picture box. I m not able to display large image in that picture box which is small(size of picture box is fix-300x170),with out any change in aspect ratio of image. I got the aspect ratio of that image but i m not able to set the height and width of that image which i m getting from OpenFileDialog box.
It is giving a message that width and height property of an image is read only. I tried sizemode of picture box but got nothing.
Plz help me.
Thankx to all reader & repliers. Hav a nice time