Image::Clone method

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

Syntax

Image * Clone(

);

Parameters

This method has no parameters.

Return Value

Type: Type: Image*

This method returns a pointer to the new Image object.

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 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