CFont Class

  
MFC Library Reference
CFont Class
See Also 
 Collapse AllExpand All     Language Filter: AllLanguage Filter: MultipleLanguage Filter: Visual BasicLanguage Filter: C#Language Filter: C++Language Filter: J#Language Filter: JScript

Encapsulates a Windows graphics device interface (GDI) font and provides member functions for manipulating the font.
封装了一个Windows图形设备接口(GDI)字体并为操作提供了成员函数。

class CFont : public CGdiObject
Remarks
备注

To use a CFont object, construct a CFont object and attach a Windows font to it withCreateFont, CreateFontIndirect,CreatePointFont, or CreatePointFontIndirect, and then use the object's member functions to manipulate the font.

CFont的使用,CreateFont,CreateFontIndirect,CreatePointFont,或CreatePointFontIndirect构造一个CFont对象,然后使用对象的成员函数来操纵的字体。

The CreatePointFont and CreatePointFontIndirect functions are often easier to use thanCreateFont or CreateFontIndirect since they do the conversion for the height of the font from a point size to logical units automatically

CreatePointFont和CreatePointFontIndirect函数往往比CreateFont或CreateFontIndirect更容易使用,因为他们执行转换从一个点字体的高度尺寸到自动逻辑单元。.

For more information on CFont, see Graphic Objects.

CFont的更多信息,请参见图形对象。


Requirements
要求

Header: afxwin.h

头文件: afxwin.h


See Also

Tasks

HIERSVR Sample: Demonstrates a Server Application with OLE Drag and Drop


Reference

CGdiObject Class
Hierarchy Chart
Other Resources

CFont Members


To make a suggestion or report a bug about Help or another feature of this product, go to thefeedback site.  

本人英语水平不好,如翻译有误请留言告知本人,在此先行致谢。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值