2020
10-08
10-08
C# 获取系统字体的示例代码
获取已安装的所有字体列表System.Drawing.FontFamilyStringBuilderstr=newStringBuilder(2000);InstalledFontCollectionfonts=newInstalledFontCollection();foreach(FontFamilyfamilyinfonts.Families){str.Append(family.Name);str.AppendLine();}ContentTextBlock.Text=str.ToString();获取区域语言字体列表System.Windows.Media.FontFamilyStringBuilderstr=newStringBuilder(2000);Cul...
继续阅读 >