List fonts?

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
 
D

Dennis Myrén

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;
 
S

Shiva

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

Top