GetOutlineTextMetrics
TOC
Collapse the table of content
Expand the table of content

GetOutlineTextMetrics (Windows Embedded CE 6.0)

1/6/2010

This function retrieves text metrics for TrueType fonts.


UINT GetOutlineTextMetrics(
  HDC                  hdc,
  UINT                 cbData,
  LPOUTLINETEXTMETRICW lpOTM
);

hdc

[in] Handle to the device context.

cbData

[in] Specifies the size, in bytes, of the array that receives the text metrics.

lpOTM

[out] Pointer to an OUTLINETEXTMETRICW structure. If this parameter is NULL, the function returns the size of the buffer required for the retrieved metric data.

If the function succeeds, the return value is nonzero or the size of the required buffer.

If the function fails, the return value is zero.

To get extended error information, call GetLastError.

The OUTLINETEXTMETRICW structure contains most of the text metric information provided for TrueType fonts (including a TEXTMETRIC structure). The sizes returned in the OUTLINETEXTMETRICW structures are in logical units; they depend on the current mapping mode.

Headerwindows.h
Librarycoredll.lib
Windows Embedded CEWindows CE 5.0 and later

Community Additions

ADD
Show:
© 2016 Microsoft