将新字体添加到VisualStudio属性窗口 [英] Add new font to VisualStudio property window

查看:692
本文介绍了将新字体添加到VisualStudio属性窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Visual Studio 2008属性窗口中添加一个新字体来设置文本框的字体。



我将字体添加到 c: \ Windows\fonts ,但我无法在visual studio中使用它。为什么这样?

解决方案

当然,您不必向Visual Studio添加字体。

您的报告表明您没有确实将您的字体添加到系统中,您只将其复制到目录中。如果不确定,请尝试运行字符映射应用程序:您将找不到它。



只需使用控制面板小程序字体将字体正确添加到系统中。它将显示一个菜单项Files - > Install new font。



您可以使用属性更改任何控件的代码 Control .Font 。您还可以在任何级别的层次结构中从父控件继承字体。



-SA


如果您使用的是Windows 7,请按照以下步骤安装字体 http://www.microsoft.com/typography/TrueTypeInstall.mspx [ ^ ]并重新打开项目

I want to add a new font to Visual Studio 2008 property window to set the font of a textbox.

I add the font to c:\Windows\fonts, but I am unable to use it in visual studio. Why so?

解决方案

You don't have to add fonts to Visual Studio, of course.
Your report indicates that you did not really add your font to the system, you only copied it in the directory. If not sure, try to run "Character Map" application: you won't find it.

Just add your font to the system properly using Control Panel Applet "Fonts". It will show a menu item "Files -> Install new font".

You can change the code of any control using the property Control.Font. You can also inherit font from the parent control at any level of hierarchy.

—SA


Follow this to install the font if you are using windows 7http://www.microsoft.com/typography/TrueTypeInstall.mspx[^] and reopen the project


这篇关于将新字体添加到VisualStudio属性窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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