C# 获取系统字体方法
//需要引用命名空间 using System.Drawing; using System.Drawing.Text; //获取系统字体方法 public dynamic GetFontNames() { FontFamily[] fontFamilies; InstalledFontCollection installedFontCollection = new InstalledFontCollection(); fontFamilies = installedFontCollection.Families; return fontFamilies; }