I have a 424x222 pixel image and would like to put it in a PictureBox, how do I find out what the PictureBox.Width and PictureBox.Height need to be?
Printable View
I have a 424x222 pixel image and would like to put it in a PictureBox, how do I find out what the PictureBox.Width and PictureBox.Height need to be?
well just set the form scalemode to pixels then you can set the picture box exactly what you need it to be!
image controls by the way have a strech property that will load it to the current size of the box...
Or just set the .AutoResize property to True, that way when you set the picture it will automatically resize itself.