|
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; |
Answered by
kirsan31
Apr 3, 2024
Replies: 1 comment
|
Found a solution (need a bit more play with |
0 replies
Answer selected by
kirsan31
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found a solution (need a bit more play with
GetDeviceCaps): https://stackoverflow.com/a/63229584/6075536