CDC::GetTextMetrics

This method retrieves the metrics for the current font using the attribute 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 GetTextMetrics( LPTEXTMETRIC lpMetrics ) const;

See Also

CDC::m_hAttribDC, CDC::m_hDC, CDC::GetOutputTextMetrics, CDC::GetTextExtent, CDC::GetTextFace