saving a font

  • Thread starter Thread starter 2G
  • Start date Start date
2

2G

Hi

How do you install a font using c# ? Copying it into the dir won't work.

Grtz.
 
Install it through the API with P/Invoke, see the docs for AddFontResource()

HTH
Brian W
 
I do
int i = AddFontResource("c:\\microN55.ttf");

and it returns 1 but the font doesn't seem to be installed (I can't find it
in the fonts dir). What should i do?

Grtz
 

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

Back
Top