WinForm the following e.Graphics.DrawImage output to millimeter as unit

WinForm the following e.Graphics.DrawImage output to millimeter as unit


Bitmap bmp = new Bitmap(imgname);
e.Graphics.DrawImage(bmp, left, top, ww, hh); //By default, do not know what the unit display


I know it will use GraphicsUnit.Millimeter but this function is not used, other functions too many parameters, but also to specify what the source image object does not know what meaning, how the above statement simply turn into output to millimeter as unit

Started by Warren at November 09, 2016 - 4:17 PM

Fail to do. For a bitmap, mm, cm. Doesn't make sense.

It just pixels.

The physical length of only equipment (monitors, printers) can decide.

Posted by Donahue at November 13, 2016 - 4:56 PM