-
Can we get current DPI and screen resolution for system aware (or unaware) dpi apps? For DPI I was tried using System.Drawing.Graphics graphics = System.Drawing.Graphics.FromHwnd(IntPtr.Zero);
Dpi = graphics.DpiX; |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found a solution (need a bit more play with |
Beta Was this translation helpful? Give feedback.
Found a solution (need a bit more play with
GetDeviceCaps
): https://stackoverflow.com/a/63229584/6075536