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

Signature
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
Herfried K. Wagner [MVP] - 23 Jul 2006 23:20 GMT
"Nathan Sokalski" <njsokalski@hotmail.com> schrieb:
>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()
///

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
MyndPhlyp - 23 Jul 2006 23:24 GMT
> 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.