How to List all Fonts on a system by VB usable name?

  • Thread starter Thread starter jack
  • Start date Start date
J

jack

Hello,

I need to be able to list all the fonts on a system in a way I can then use
the names to format my vb app. text.

Thanks for any help,

Jack
 
Thanks!!!
Ken Tucker said:
Hi,

Try this.
Dim ff As FontFamily

For Each ff In System.Drawing.FontFamily.Families

ListBox1.Items.Add(ff.Name)

Next

Ken
 
Hello,

jack said:
I need to be able to list all the fonts on a system in a way I can then use
the names to format my vb app. text.

\\\
Imports System.Drawing
..
..
..
Dim fntfam As FontFamily
For Each fntfam In FontFamily.Families
Console.WriteLine(fntfam.Name)
Next fntfam
///

HTH,
Herfried K. Wagner
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top