Export (0) Print
Expand All
Expand Minimize

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.

Header: afxwin.h

Show:
© 2014 Microsoft