Font::GetUnit method (gdiplusheaders.h)

The Font::GetUnit method returns the unit of measure of this Font object.

Syntax

Unit GetUnit();

Return value

Type: Unit

This method returns one of the elements of the Unit enumeration.

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::GetSize

Font::GetStyle

Unit

Using Text and Fonts