Populate ListBox with Installed Font.

Vpramodg
Posted by Vpramodg under C# category on | Points: 40 | Views : 4162
Hai

In this Example the ListBox will fill the Fonts installed in the System.

Namespace for this

using System.Drawing.Text;


C# Code

 InstalledFontCollection fonts = new InstalledFontCollection();
foreach (FontFamily fa in fonts.Families)
{
listBoxFont.Items.Add(fa.Name);
}


pramod.v.g

Comments or Responses

Login to post response