Connecting Tech Pros Worldwide Forums | Help | Site Map

Where can I get a list of the available fonts?

Nathan Sokalski
Guest
 
Posts: n/a
#1: Jul 23 '06
I need to get a list of the available fonts as some type of collection or
array. How can I do this? Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/



Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
#2: Jul 23 '06

re: Where can I get a list of the available fonts?


"Nathan Sokalski" <njsokalski@hotmail.comschrieb:
Quote:
>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 S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

MyndPhlyp
Guest
 
Posts: n/a
#3: Jul 23 '06

re: Where can I get a list of the available fonts?



"Nathan Sokalski" <njsokalski@hotmail.comwrote in message
news:%239gBP3prGHA.3384@TK2MSFTNGP04.phx.gbl...
Quote:
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.


Closed Thread