Pen::Clone method (gdipluspen.h)

The Pen::Clone method copies a Pen object.

Syntax

Pen * Clone();

Return value

Type: Pen*

This method returns a pointer to the new Pen 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 gdipluspen.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Pen

Pen Methods

Pens, Lines, and Rectangles

Using a Pen to Draw Lines and Rectangles