<分区>
Possible Duplicate:
How do I detect if the user's font (DPI) is set to small, large, or something else?
我正在寻找一种方法来检索下图中使用的设置?
谢谢?
<分区>
Possible Duplicate:
How do I detect if the user's font (DPI) is set to small, large, or something else?
我正在寻找一种方法来检索下图中使用的设置?
谢谢?
最佳答案
在 SystemFonts 类下检查。我认为您只需要默认 namespace 即可。
string name = SystemFonts.IconTitleFont.FontFamily.Name;
float size = SystemFonts.IconTitleFont.Size;
关于c# - 确定 Windows 7 通过 C# 设置的字体大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8718633/