List fonts?

  • Thread starter Thread starter Lasse Edsvik
  • Start date Start date
L

Lasse Edsvik

Hello

I was wondering if you guys could show me how to list all fonts using C#?
those that is supported by gdi+ that is, im using gdi+ to apply text on a
pic.

TIA
/Lasse
 
You can retrieve a list of installed fonts(note though, only TrueType fonts)
like this:
System.Drawing.FontFamily [] families = new
System.Drawing.Text.InstalledFontCollection().Families;
 
Hi,
Check if System.Drawing.Text.InstalledFontCollection is what you are looking
for.

Hello

I was wondering if you guys could show me how to list all fonts using C#?
those that is supported by gdi+ that is, im using gdi+ to apply text on a
pic.

TIA
/Lasse
 

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

Similar Threads

GDI+ 1
about painting where I don't specify a rectangle 1
Text -> pic? 1
Dual monitor management 1
Fixed-width font issues 2
Access Access DLookup Function – more than 1 criteria 0
Get Winamp info? 1
Return string + enum? 2

Back
Top