PC Review


Reply
Thread Tools Rate Thread

Where can I get a list of the available fonts?

 
 
Nathan Sokalski
Guest
Posts: n/a
 
      22nd Jul 2006
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
(E-Mail Removed)
http://www.nathansokalski.com/


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      24th Jul 2006
"Nathan Sokalski" <(E-Mail Removed)> 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()
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

 
Reply With Quote
 
MyndPhlyp
Guest
Posts: n/a
 
      24th Jul 2006

"Nathan Sokalski" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fonts - signature font lost in list of fonts Ryka Windows Vista Mail 4 30th Dec 2008 12:37 AM
How can I lengthen the drop down Fonts list to show more fonts at =?Utf-8?B?TW9zZXIgRA==?= Microsoft Excel Misc 1 5th Feb 2006 04:24 PM
Re: cannot find some of the fonts in fonts list Suzanne S. Barnhill Microsoft Word Document Management 5 9th Sep 2005 07:23 PM
Can I print a list of fonts IN those fonts? =?Utf-8?B?TGF1cmEzNTIx?= Microsoft Word Document Management 5 28th Apr 2005 06:47 PM
Are different fonts possible for list numbers and list contents? =?Utf-8?B?Z2FtZW0wbmszeQ==?= Microsoft Powerpoint 1 10th Mar 2005 02:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:31 PM.