Share via


CFont Class Members

Construction

CFont Constructs a CFont object.

Initialization

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

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

Attributes

operator HFONT Returns the Windows GDI font handle attached to the CFont object.
GetLogFont Fills a LOGFONT with information about the logical font attached to the CFont object.

CFont OverviewBase Class MembersHierarchy Chart