Rect::GetLeft method (gdiplustypes.h)

The Rect::GetLeft method gets the x-coordinate of the left edge of the rectangle.

Syntax

INT GetLeft();

Return value

Type: INT

This method returns the x-coordinate of the left 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

Pens, Lines, and Rectangles

Rect

Rect::GetBottom

Rect::GetRight

Rect::GetTop

RectF

Using a Pen to Draw Lines and Rectangles