■ Fonts 클래스의 SystemFontFamilies 정적 속성을 사용해 시스템 폰트 패밀리 컬렉션을 구하는 방법을 보여준다.
▶ 예제 코드 (C#)
1 2 3 4 5 6 7 8 9 |
using System; using System.Windows.Media; foreach(FontFamily fontFamily in Fonts.SystemFontFamilies) { Console.WriteLine(fontFamily.Source); } |