How to Find installed font-family ?

Posted by Ranjeet_8 under ASP.NET category on | Points: 40 | Views : 1416
Find installed font-family

using System.Text;
using System.Drawing.Text;
using System.Drawing;

protected void Page_Load(object sender, EventArgs e)
InstalledFontCollection fontList = new InstalledFontCollection();
StringBuilder sb = new StringBuilder();

foreach (FontFamily Family in fontList.Families)
sb.Append(Family.Name + "<br/>");


Comments or Responses

Login to post response