CDC::GetTextMetrics
Visual Studio 2010
Retrieves the metrics for the current font using the attribute device context.
BOOL GetTextMetrics( LPTEXTMETRIC lpMetrics ) const;
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.