BOOL GetTextMetrics( LPTEXTMETRIC lpMetrics ) const;
lpMetrics
Points to the TEXTMETRIC structure that receives the metrics.
Retrieves the metrics for the current font.
TRUE if the function is successful; otherwise FALSE.
CDC::GetTextAlign, CDC::GetTextExtent, CDC::GetTextFace, CDC::SetTextJustification, ::GetTextMetrics