473,387 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Where can I get a list of the available fonts?

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
nj********@hotmail.com
http://www.nathansokalski.com/
Jul 23 '06 #1
2 1551
"Nathan Sokalski" <nj********@hotmail.comschrieb:
>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/>

Jul 23 '06 #2

"Nathan Sokalski" <nj********@hotmail.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
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.
Jul 23 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: SeeBelow | last post by:
I'm learning Tkinter, from Grayson's book and some online sources. I don't know how to find out which color names and font names are available on my system. I'm using Windows 2000. I assume...
3
by: Jonesgj | last post by:
Hi, How would I return a list of available fonts. I'm writing a simple word processor, and have got the font dialog working, but wanted to create a toolbar dropdown with a list of fonts in,...
1
by: Atul | last post by:
Hi, I have installed a truetype font (.ttf) on a linux machne (SUSE linux 10, KDE) by copying it to my .fonts folder. I can use the font in all applications like open-office and firefox browser....
2
by: Nathan Sokalski | last post by:
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/
8
by: a8736d53 | last post by:
Is there any way to get a list of the available fonts using Firefox?
24
by: Tony Girgenti | last post by:
Hello. Developing a Windows Form program in VS.NET VB, .NET Framework 1.1.4322 on a windows XP Pro, SP2. Before printing a document, i want to set the font to a font that is only available...
0
by: WDS | last post by:
Hello something weird happens to me. I have Windows Server 2003 with all the fonts installed and Microsoft Visual Studio .NET 2003. When I create a report on Visual Studio .NET (rpt), I can't see...
7
by: clinisbut | last post by:
Hi I'm trying to write an app and don't know how to start. I'll have a selector with a list of true type fonts. Each font will represent a different set of chars. Example *arial-font...
4
by: DamienS | last post by:
Hi, After many years of using html/css/asp etc for the first time I've had a requirement to use a custom font in a website. "That shouldn't be too hard" thought I, "that would be a pretty common...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.