CDC::GetOutputTextMetrics
TOC
Collapse the table of content
Expand the table of content

CDC::GetOutputTextMetrics

 

Retrieves the metrics for the current font using m_hDC, the output device context.


      BOOL GetOutputTextMetrics(
   LPTEXTMETRIC lpMetrics 
) const;

lpMetrics

Points to the TEXTMETRIC structure that receives the metrics.

Nonzero if the function is successful; otherwise 0.

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft