1. Drag a List Box (called lstFontStyle) then write the below Code in page load
InstalledFontCollection fontList = new InstalledFontCollection();
foreach (FontFamily Family in fontList.Families)
{
lstFontStyle.Items.Add(Family.Name);
}
Santosh
Bangalore
InstalledFontCollection fontList = new InstalledFontCollection();
foreach (FontFamily Family in fontList.Families)
{
lstFontStyle.Items.Add(Family.Name);
}
Santosh
Bangalore
No comments:
Post a Comment