CDC::GetTextExtentPointI
TOC
Collapse the table of content
Expand the table of content

CDC::GetTextExtentPointI

 

Retrieves the width and height of the specified array of glyph indices.


      BOOL GetTextExtentPointI(
   LPWORD pgiIn,
   int cgi,
   LPSIZE lpSize
) const;

pgiIn

A pointer to an array of glyph indices for which extents are to be retrieved.

cgi

Specifies the number of glyphs in the array pointed to by pgiIn.

lpSize

Pointer to a SIZE structure that receives the dimensions of the glyph indices array, in logical units. This value cannot be NULL.

Nonzero if the function is successful; otherwise 0.

This member function emulates the functionality of the function GetTextExtentPointI, as described in the Windows SDK.

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft