.net 获取系统字体

InstalledFontCollection MyFont=new InstalledFontCollection();
FontFamily[] MyFontFamilies=MyFont.Families;
ArrayList list = new ArrayList();
int Count=MyFontFamilies.Length;
for(int i=0;i <Count;i++)
{
string FontName=MyFontFamilies[i].Name;
list.add(FontName);
posted @ 2017-08-25 12:54  sunlyk  阅读(512)  评论(0编辑  收藏  举报