Font::GetSize method (gdiplusheaders.h)

The Font::GetSize method returns the font size (commonly called the em size) of this Font object. The size is in the units of this Font object.

Syntax

REAL GetSize();

Return value

Type: REAL

The method returns the font size. The size is in the units of this Font object.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Font

Font::GetHeight

Font::GetStyle

Font::GetUnit

Using Text and Fonts