Designing applications independent of System Font Size
Posted on 2005-04-13
I'm facing a general problem while designing any application. The application is designed in Small Fonts and runs fine when the target system is running Small Fonts (96 dpi)... However, the controls are misplaced under a system running Large Fonts (120 dpi).
I want some way of detecting the system DPI setting in C# (Important) ... so that I can display a warning on runtime. If there is a way to set it through C# programatically, it would be great... I've checked out MSDN, they don't have anything on it.