IGxImage.Clone

Syntax

Clone: IGxImage;

Description

The Clone method creates a copy of the image.

Example

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

Image, Image1: IGxImage;

Begin

Image:=ImageBox1.Image;

Image1:=Image.Clone;

End Sub Button1OnClick;

After executing the example on clicking the button the Image1 variable contains the copy of the image that is contained in the component named ImageBox.

See also:

IGxImage