CDC::GetTextMetrics

This member function retrieves the metrics for the current font using the attribute device context.

Syntax

BOOL GetTextMetrics( LPTEXTMETRIC lpMetrics ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::m_hAttribDC, CDC::m_hDC, CDC::GetOutputTextMetrics, CDC::GetTextExtent, CDC::GetTextFace