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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Scott LyslePosted Dec 2, 2007, 8:22 AM
Give this a shot:
FontFamily[] fontFam = System.Drawing.FontFamily.Families; foreach (FontFamily ff in fontFam) comboBox1.Items.Add(ff.Name);Scott LyslePosted Dec 2, 2007, 8:22 AM
Give this a shot:
FontFamily[] fontFam = System.Drawing.FontFamily.Families; foreach (FontFamily ff in fontFam) comboBox1.Items.Add(ff.Name);Scott LyslePosted Dec 2, 2007, 8:22 AM
Give this a shot:
FontFamily[] fontFam = System.Drawing.FontFamily.Families; foreach (FontFamily ff in fontFam) comboBox1.Items.Add(ff.Name);