Posts

Showing posts from February, 2020
Read all the fonts from the system: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Drawing.Text; namespace FontsInstalled {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         private void Form1_Load(object sender, EventArgs e)         {             using (InstalledFontCollection fontsCollection = new InstalledFontCollection())             {                 FontFamily[] fontFamilies = fontsCollection.Families;                 List fonts = new List ();                 foreach (FontFamily font in fontFamilies)                 {                     richTextBox1.Text += font.Name + "\n";                    // .Add(font.Source);                 }             }         }     } }
Which is the version of the .NET Framework on which a project is built to run? C:\WINNT\Microsoft.NET\Framework\v4.0.30319>MSBuild.exe -version Microsoft (rainbow) Build Engine Version 4.0.30319.1 [Microsoft .NET Framework, Version 4.0.30319.1026] Copyright (coffee) Microsoft Corporation 2007. All rights reserved. Thank you. Kind regards Mohammed Ghouse http://programmersvision.blogspot.com  https://sites.google.com/site/barqkadapavi