How can i all the fonts in the combobox when the program executes....
I want all the fonts listed in the Fonts folder of the windows...
Please help me...
How can i all the fonts in the combobox when the program executes....
I want all the fonts listed in the Fonts folder of the windows...
Please help me...
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Scott LysleRank #49 · 31K reputationPosted Dec 2, 2007, 3:22 AM EST
Give this a shot:
FontFamily[] fontFam = System.Drawing.FontFamily.Families; foreach (FontFamily ff in fontFam) comboBox1.Items.Add(ff.Name);Scott LysleRank #49 · 31K reputationPosted Dec 2, 2007, 3:22 AM EST
Give this a shot:
FontFamily[] fontFam = System.Drawing.FontFamily.Families; foreach (FontFamily ff in fontFam) comboBox1.Items.Add(ff.Name);Scott LysleRank #49 · 31K reputationPosted Dec 2, 2007, 3:22 AM EST
Give this a shot:
FontFamily[] fontFam = System.Drawing.FontFamily.Families; foreach (FontFamily ff in fontFam) comboBox1.Items.Add(ff.Name);