Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CDC::GetTextFace
◄CDC►                                         ◄Up► ◄Contents► ◄Index► ◄Back►
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int GetTextFace( int nCount, const char FAR* lpFacename ) const;
 
  Parameter    Description
 
  <nCount>     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.
 
  <lpFacename> Points to the buffer for the typeface name.
 
  Remarks
 
  Copies the typeface name of the current font into a buffer. The typeface
  name is copied as a null-terminated string.
 
  Return Value
 
  The number of bytes copied to the buffer. It is 0 if an error occurs.
 
  See Also
 
  ◄CDC::GetTextMetrics►, ◄CDC::SetTextAlign►, ◄CDC::TextOut►,
  ◄::GetTextFace►
 
 
                                     -♦-