C#将字体安装到Windows字体文件夹中 [英] C# Install Font into Windows Font Folder

查看:213
本文介绍了C#将字体安装到Windows字体文件夹中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我的程序启动时,我需要在客户机上安装一个字体,我知道我需要使用PInvoke来完成这个任务,但是我很难理解PInvoke到底做了什么,而且我不太了解这个例子在这里。有人能够愚弄这个新手水平?

谢谢!

解决方案

为什么不使用 PrivateFontCollection

a>?


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?

这篇关于C#将字体安装到Windows字体文件夹中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆