TFont里的字体大小
来源:互联网 发布:最火交友软件 编辑:程序博客网 时间:2024/04/29 18:34
TFont里的字体大小,
Font.Size = -Font.Height * 72 / Font.PixelsPerInch
1英寸=72磅 //"磅"是字体单位,又可以称为"点",是单位
1磅 = 0.35146mm ≈ 0.35mm
//Specifies the height of the font in points
//Height 是像素
TFont::Height Use Height to specify the height of the font in pixels
//Specifies the height of the font in points
//用"点",也即是"磅"来说明字体的高度
TFont::Size
//Indicates the conversion factor between logical inches and the pixels of the device (printer or screen) using the font
//英寸和像素的转换因子
TFont::PixelsPerInch
Printer()->PageHeight; //Indicates the Height(in pixels) of the currently printing page
//获取当前打印页的高度,用像素表明
Printer()->PageWidth; //Indicates the Width(in pixels) of the currently printing page
//获取当前打印页的宽度,用像素表明
A4纸的大小为 210mm X 297mm
没做试验
- TFont里的字体大小
- TFont 类的常用属性:
- flex里的tooltip的字体大小
- flex里的tooltip的字体大小
- flex里的tooltip的字体大小
- Flex里Accordin字体大小的设定
- 怎样改变CHM电子书里的字体大小?
- Eclipse里的字体大小及编码问题
- Delphi 的绘图功能[10] - TFONT 类
- 主程序调用DLL窗体 cannot assign a TFont to a TFont 问题的彻底解决方案
- 主程序调用DLL窗体 cannot assign a TFont to a TFont 问题的彻底解决方案
- DLL中报'Cannot assign a TFont to a TFont'的问题
- MyEclipse里更改字体大小和快捷建的设置
- MyEclipse里更改字体大小和快捷建的设置
- MyEclipse里更改字体大小和快捷建的设置
- VC里如何改变Static,Edit等控件的字体大小
- MyEclipse里更改字体大小和快捷建的设置
- android系统设置里的字体大小导致的布局混乱问题
- 读取XML动态创建Java类,并调用方法
- 引用 七个受用一生的心理寓言(转)
- 最好的(译)
- VMWare与Virtual PC比较
- VBScript中格式化输出日期的方法
- TFont里的字体大小
- Linux + Shell bash / sh / ksh / csh / tcsh
- 央行动态微调,吓坏了股市?
- GCC-3.4.6源代码学习笔记(99)
- 重现不了错误,很郁闷
- ★★ oracle rank,over partition 函数
- C#:获取所有SQL Server的数据库名称
- linux网络流量实时监控工具之nload
- 用gdb调试动态链接库