CDC::GetOutputTextMetrics

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

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL GetOutputTextMetrics( LPTEXTMETRIC lpMetrics ) const;

See Also

CDC::m_hAttribDC, CDC::m_hDC, CDC::GetTextMetrics, CDC::GetTextExtent, CDC::GetTextFace