RectF::GetBounds method (gdiplustypes.h)

The RectF::GetBounds method makes a copy of this rectangle.

Syntax

void GetBounds(
  [out] RectF *rect
);

Parameters

[out] rect

Type: RectF*

Pointer to a RectF object that receives the copy of this rectangle.

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

GetBottom

GetLeft

GetRight

GetTop

Pens, Lines, and Rectangles

Rect

RectF

Using a Pen to Draw Lines and Rectangles