C # Install Font in Windows Fonts Folder

I need to install the font on the client machine when my program is running, and I know that I need to use PInvoke for this, but I find it difficult to understand what PInvoke does, and I really don't understand the example HERE . Can anyone lower this to beginner level?

Thanks!

+3
source share
2 answers

Why not just use PrivateFontCollection ?

+5
source

This article may be the best approach to what you are trying to do:

http://www.emoreau.com/Entries/Articles/2007/10/Embedding-a-font-into-an-application.aspx

+2
source

Source: https://habr.com/ru/post/1720933/


All Articles