How can I fill a combo-box with a list of all the available fonts in the system?
You can use System.Drawing.FontFamily.Families to get the available fonts.
System.Drawing.FontFamily.Families
List<string> fonts = new List<string>(); foreach (FontFamily font in System.Drawing.FontFamily.Families) { fonts.Add(font.Name); } // add the fonts to your ComboBox here
548k questions
547k answers
4 comments
86.3k users