C#/Winform
[C#] 자신의 컴퓨터에 설치된 Font 목록 나열하기
kjun.kr
2020. 2. 24. 00:01
728x90
using System.Drawing.Text;
using (InstalledFontCollection fontsCollection = new InstalledFontCollection())
{
FontFamily[] fontFamilies = fontsCollection.Families;
List<string> fonts = new List<string>();
foreach (FontFamily font in fontFamilies)
{
fonts.Add(font.Name);
}
}
728x90