CFont::CreateFontIndirect

Call this member function to initialize a CFont object with the characteristics given in a LOGFONT structure pointed to by lpLogFont. The font can subsequently be selected as the current font for any device.

Syntax

BOOL CreateFontIndirect(const LOGFONT* lpLogFont );

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::CreateFont, CFont::CreatePointFontIndirect, CDC::SelectObject, CGdiObject::DeleteObject