3

I use System.Drawing.Graphics to draw some text.

I want to add custom font for that. In this case I have to create System.Drawing.Font.

How can I create System.Drawing.Font by using *.ttf file with custom font?

Dmitry
  • 477
  • 6
  • 20

1 Answers1

4

You can use PrivateFontCollection class.

Here is full details about how to use it

Manish Parakhiya
  • 3,732
  • 3
  • 22
  • 25