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


Retrieves the metrics for the current font using the attribute device context.

BOOL GetTextMetrics( 
   LPTEXTMETRIC lpMetrics  
) const;


Points to the TEXTMETRIC structure that receives the metrics.

Nonzero if the function is successful; otherwise 0.

Header: afxwin.h

© 2015 Microsoft