Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the metrics for the current font using the attribute device context.
BOOL GetTextMetrics(
LPTEXTMETRIC lpMetrics
) const;
Parameters
- lpMetrics
Points to the TEXTMETRIC structure that receives the metrics.
Return Value
Nonzero if the function is successful; otherwise 0.
Requirements
Header: afxwin.h