CDC::GetOutputTextMetrics

This member function retrieves the metrics for the current font using m_hDC, the output device context.

Syntax

BOOL GetOutputTextMetrics( 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::GetTextMetrics, CDC::GetTextExtent, CDC::GetTextFace