CDC::GetOutputTextMetrics 

BOOLGetOutputTextMetrics(LPTEXTMETRIClpMetrics**)const;**

Return Value

Nonzero if the function is successful; otherwise 0.

Parameters

lpMetrics

Points to the structure that receives the metrics.

Remarks

Retrieves the metrics for the current font using m_hDC, the output device context.

CDC OverviewClass MembersHierarchy Chart

See Also   CDC::GetTextAlign, CDC::m_hAttribDC, CDC::m_hDC, CDC::GetTextMetrics, CDC::GetTextExtent, CDC::GetTextFace, CDC::SetTextJustification,