Author Topic: How to find font is available in computer using c# application  (Read 3064 times)

abhimanyu

  • Newbie
  • *
  • Posts: 10
    • View Profile
How to find font is available in computer using c# application
« on: October 22, 2013, 04:38:54 PM »
Code: [Select]
var fontsCollection = new InstalledFontCollection();
            foreach (var fontFamiliy in fontsCollection.Families)
            {
                if (fontFamiliy.Name == "Font Name")
                {
                      messagebox.show("Available");
                }
                else
                {
                      messagebox.show("Not Available");
                }
             }
« Last Edit: October 24, 2013, 02:05:08 PM by abhimanyu »
Regards,
Abhimanyu Rawat