tags:

views:

67

answers:

2

Hello,

I've an interface where user selects picture (using OpenFileDialog) and its shown in a fixed size picturebox. I want this picture to fit in the picturebox even if the resolution is high.

What property do I need to set inorder to let my image AutoScaleToFitIn the PicutreBox?

+2  A: 

You could set the PictureBox.SizeMode property to StretchImage.

Darin Dimitrov
A: 

Look at the SizeMode property

Alex Reitbort