可能重複:
How do I detect if the user's font (DPI) is set to small, large, or something else?確定Windows 7通過C#設置的字體大小?
我正在尋找一種方式來恢復設置,如下面的圖片中使用?
謝謝?
可能重複:
How do I detect if the user's font (DPI) is set to small, large, or something else?確定Windows 7通過C#設置的字體大小?
我正在尋找一種方式來恢復設置,如下面的圖片中使用?
謝謝?
http://nickstips.wordpress.com/2010/11/08/c-programmatically-get-the-current-dpi-setting/ – SLaks 2012-01-03 21:11:14
另外值得注意的是,如果用戶更改設置,而你的應用程序是開放的。請參閱[MSDN文章如何:在Windows窗體應用程序中響應字體方案更改](http://msdn.microsoft.com/zh-cn/library/ms229594.aspx) – 2012-01-03 21:16:46