Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.