读取系统安装字体列表

//引用命名空间:using System.Drawing;using System.Drawing.Text;
InstalledFontCollection fonts = new InstalledFontCollection();
foreach (FontFamily family in fonts.Families)
    combFontName.Items.Add(family.Name);

效果图:



评论: 0 | 引用: 0 | 查看次数: 3415
发表评论
登录后再发表评论!