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?
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?
Copyright © 2021 Jogjafile Inc.
You can use PrivateFontCollection class.
Here is full details about how to use it