开发者

C# Install Font into Windows Font Folder

开发者 https://www.devze.com 2022-12-09 02:23 出处:网络
I need to install a font on开发者_开发百科 a client machine when my program is started and I know I need to use PInvoke to accomplish this but I am having trouble understanding what exactly PInvoke do

I need to install a font on开发者_开发百科 a client machine when my program is started and I know I need to use PInvoke to accomplish this but I am having trouble understanding what exactly PInvoke does and I don't really understand the example HERE. Would someone be able to dumb this down to a newbie level?

Thanks!


Why not just use PrivateFontCollection?


This article might be a better approach to what you're trying to do:

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

0

精彩评论

暂无评论...
验证码 换一张
取 消