Image::Clone method (gdiplusheaders.h)

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

Syntax

Image * Clone();

Return value

Type: Image*

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

See also

Bitmap

Drawing, Positioning, and Cloning Images

Image

Image Constructors

Image::FromFile

Image::FromStream

Loading and Displaying Bitmaps