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
精彩评论