Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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.

Header: afxwin.h

Show:
© 2015 Microsoft