RectF::GetTop method (gdiplustypes.h)

The RectF::GetTop method gets the y-coordinate of the top edge of the rectangle.

Syntax

REAL GetTop();

Return value

Type: REAL

This method returns the y-coordinate of the top edge of the rectangle.

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 gdiplustypes.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

GetBottom

GetLeft

GetRight

Pens, Lines, and Rectangles

Rect

RectF

SizeF

Using a Pen to Draw Lines and Rectangles