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::GetTextMetrics
CDC                                         Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL GetTextMetrics( LPTEXTMETRIC lpMetrics ) const;
 
  Parameter   Description
 
  <lpMetrics> Points to the TEXTMETRIC structure that receives the
              metrics.
 
  Remarks
 
  Retrieves the metrics for the current font.
 
  Return Value
 
  TRUE if the function is successful; otherwise FALSE.
 
  See Also
 
  CDC::GetTextAlign, CDC::GetTextExtent, CDC::GetTextFace,
  CDC::SetTextJustification, ::GetTextMetrics
 
 
                                     -♦-