CFont Methods

Construction Methods

Method Description
CFont Constructs a CFont object.

Initialization Methods

Method Description
CreateFontIndirect Initializes a CFont object with the characteristics given in a LOGFONT structure.
CreateFont Initializes a CFont with the specified characteristics.
CreatePointFont Initializes a CFont with the specified height, measured in tenths of a point, and typeface.
CreatePointFontIndirect Same as CreateFontIndirect except that the font height is measured in tenths of a point rather than logical units.

Operations Methods

Method Description
FromHandle Returns a pointer to a CFont object when given a Windows CE HFONT.

Attributes Methods

Method Description
GetLogFont Fills a LOGFONT with information about the logical font attached to the CFont object.