//需要引用命名空间 using System.Drawing; using System.Drawing.Text; //获取系统字体方法 public dynamic GetFontNames() { FontFamily[] fontFamilies; InstalledFontCollection installedFontCollection = new InstalledFontCollection(); fontFamilies = installedFontCollection.Families; return fontFamilies; }
原文地址:https://www.cnblogs.com/Loners/p/11535971.html
时间: 2024-11-01 17:46:18