Rect::GetLocation method (gdiplustypes.h)

The Rect::GetLocation method gets the coordinates of the upper-left corner of the rectangle.

Syntax

void GetLocation(
  [out] Point *point
);

Parameters

[out] point

Type: Point*

Pointer to a Point object that receives the coordinates of the upper-left corner.

Return value

None

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

Pens, Lines, and Rectangles

Point

Rect

Rect::GetBottom

Rect::GetLeft

Rect::GetRight

Rect::GetTop

RectF

Using a Pen to Draw Lines and Rectangles