PictureBox problem

S

sajin

Hi all.
I have one picture box of size(135,100). I had kept PictureBox.SizeMode
= CenterImage.
If Image size is greater then PictureBox size then i set
PictureBox.SizeMode = Zoom
If Image size is less then PictureBox size then I set
PictureBox.SizeMode = CenterZoom.
But if image is Square then the Image gets cropped since sice of
Picturebox is of shpe Rectangle.
Please tell me what can be done to resolve it so image will no get
cropped.
I am using VS 2005 VB .Net

Thanks in adance
Sajin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top