RectF::GetSize method (gdiplustypes.h)

The RectF::GetSize method gets the width and height of this rectangle.

Syntax

void GetSize(
  [out] SizeF *size
);

Parameters

[out] size

Type: SizeF*

Pointer to a SizeF object that receives the width and height of this rectangle.

Return value

None

Requirements

   
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

SizeF

Using a Pen to Draw Lines and Rectangles