Reference

GdipGetFontSize(3w)

NAME

GdipGetFontSize (GDIPLUS.@)

SYNOPSIS

GpStatus WINGDIPAPI GdipGetFontSize
(
GpFont* font,
REAL* size
)

DESCRIPTION

Returns the size of the font in Units.

PARAMS

*font [In] The font to retrieve size from.

*size [Out] Pointer to hold retrieved value.

RETURNS

SUCCESS: Ok

FAILURE: InvalidParameter (font or size was NULL).

NOTES

Size returned is actually emSize -- not internal size used for drawing.

IMPLEMENTATION

Declared in "gdiplusflat.h".

Implemented in "dlls/gdiplus/font.c".