MSDN上说:
Size: Supported by the .NET Compact Framework.
Gets the em-size of this Font object measured in the unit of this Font object.
SizeInPoints:
Gets the em-size, in points, of this Font object.
什么是em-size??? 两个有什么去别???
谢谢!
Size: Supported by the .NET Compact Framework.
Gets the em-size of this Font object measured in the unit of this Font object.
SizeInPoints:
Gets the em-size, in points, of this Font object.
什么是em-size??? 两个有什么去别???
谢谢!
解决方案 »
- C# 局域网传文件夹
- 如何在textbox中把字符串以货币形式显示!
- treeview中如何根据给定节点取得子树
- 我是女生,有人说做测试没有前途,大家怎么认为?
- 那位高人来指点下怎么做类似于vs2005中xml数据网格显示的功能,而且能够远程进行编辑(增删改查)?
- 准备深入学习(.net c#)开发网站?想求一本可以看完就能做个像样网站的好书?
- 求c#的可以用于网络传输的长字符串加密解密代码
- 如何通过程序控制鼠标指针的移动
- 日历控件,只能选当天之前的日 期,当天之后的日期不可选,变成灰色。
- Winform 和COM 接口的线程问题
- 怎么在程序里获取外网的IP地址啊
- 当前类的实例如何调用其它类的属性?
em-size是字体设计者使用的一种格子,字体的各种线条的座标就用这种格子表示,值一般是2048,它与字体显示或者打印的大小无关. 可以通过font.FontFamily.GetEmHeight(Font.Regular)得到;
SizeInPoints得到是当前字体在GraphicsUnit.Point的单位下的EmHeight等于多少个Points大小,如72点大小的字体,得到的是72,那么LineSpacing(整个字体的大小)的设计Em-size是2335,对应到Point单位下就是:(72/2400)*2335 = 82.79.要是还不明白,@$#&%#@&%.....我也只能讲这么多了.