CFont::CreatePointFont

Call this member function to create a font of a specified typeface and point size. It automatically converts the height in nPointSize to logical units using the CDC object pointed to by pDC.

Syntax

BOOL CreatePointFont( int nPointSize, LPCTSTR lpszFaceName, CDC* pDC = NULL );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CFont Overview, CFont Member Functions, Graphical Drawing Object Classes, CFont::CreatePointFontIndirect, CFont::CreateFont