RectF::Clone method (gdiplustypes.h)

The RectF::Clone method creates a new RectF object and initializes it with the contents of this RectF object.

Syntax

RectF * Clone();

Return value

Type: RectF*

This method returns a pointer to the new RectF object.

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

RectF

Using a Pen to Draw Lines and Rectangles