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

CDC::GetTextMetrics

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

BOOL GetTextMetrics( 
   LPTEXTMETRIC lpMetrics  
) const;
lpMetrics

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
Show:
© 2014 Microsoft. All rights reserved.