Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


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

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


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


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


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.

Header: afxwin.h

© 2015 Microsoft