17
我需要将System.Drawing.Bitmap对象的DPI从默认值= 96更改为例如150.我无法找到答案该怎么做,所以我在这里问:) :)C#winforms:如何更改System.Drawing.BItmap的DPI?
我需要将System.Drawing.Bitmap对象的DPI从默认值= 96更改为例如150.我无法找到答案该怎么做,所以我在这里问:) :)C#winforms:如何更改System.Drawing.BItmap的DPI?
Bitmap result = new Bitmap(width, height);
result.SetResolution(dpi, dpi);
+1为简明 – 2011-06-30 15:15:58