DrawImageUnscaled......Scaled?
-
I draw an image in the form_Paint event handler: e.Graphics.DrawImageUnscaled(bmp,0,0/*panel1.Bounds*/); But the image IS scaled! The size of bmp is 2048*1900, but the whole image was drawn in a small area of the form, the width was 800 more or less. Why scaled? How can I make it unscaled?
-
I draw an image in the form_Paint event handler: e.Graphics.DrawImageUnscaled(bmp,0,0/*panel1.Bounds*/); But the image IS scaled! The size of bmp is 2048*1900, but the whole image was drawn in a small area of the form, the width was 800 more or less. Why scaled? How can I make it unscaled?
There's a problem with DPI. Let use DrawImage(bmp, bmp.Width, bmp.Height): it's simper. ___________________________________ Tozzi is right: Gaia is getting rid of us. My Blog [ITA]