Declaration Part:
Code for getting font name into ComboBox :
| Using System.Drawings.Text |
Code for getting font name into ComboBox :
InstalledFontCollection inst = new InstalledFontCollection();
foreach (FontFamily fnt in inst.Families)
{
comboBox1.Items.Add(fnt.Name);
}
|
|
No comments:
Post a Comment