CDC::GetTextFace
Visual Studio 2010
Call this member function to copy the typeface name of the current font into a buffer.
int GetTextFace( int nCount, LPTSTR lpszFacename ) const; int GetTextFace( CString& rString ) const;
Specifies the size of the buffer (in bytes). If the typeface name is longer than the number of bytes specified by this parameter, the name is truncated.
Points to the buffer for the typeface name.
A reference to a CString object.