Where can I get a list of the available fonts?

N

Nathan Sokalski

I need to get a list of the available fonts as some type of collection or
array. How can I do this? Thanks.
 
H

Herfried K. Wagner [MVP]

Nathan Sokalski said:
I need to get a list of the available fonts as some type of collection or
array. How can I do this?

Are you talking about Windows Forms or Web Forms? Do you want to enumerate
fonts on the client or on the server?

\\\
Dim g As Graphics = Me.CreateGraphics()
.... = FontFamily.GetFamilies(g)
g.Dispose()
///
 
M

MyndPhlyp

Nathan Sokalski said:
I need to get a list of the available fonts as some type of collection or
array. How can I do this? Thanks.

InstalledFontCollection()

See your installed Help for the article entitled "How to: Enumerate
Installed Fonts". If you have trouble locating it, use the Index and locate
"fonts" and then "enumerating installed" under that.
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top