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