Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CDC::GetTextMetrics
Collapse the table of content
Expand the table of content

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

Show:
© 2015 Microsoft