Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
Clone() Method
See Also 
Leadtools Namespace > RasterImage Class > Clone Method : Clone() Method




Creates an exact copy of the current page of this RasterImage.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Clone() As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim value As RasterImage
 
value = instance.Clone()
C# 
public RasterImage Clone()
Managed Extensions for C++ 
public: RasterImage* Clone(); 
C++/CLI 
public:
RasterImage^ Clone(); 

Return Value

The RasterImage this method creates.

Example

This example loads a multi-page image and clones it in 3 different ways.

Remarks

You can also use the _ctor constructor to create an exact copy of an existing RasterImage.

To create a copy of an object while maintaining a progress status, refer to the CloneCommand.

This method copies only the current active page and no metadata information is copied. To create an exact copy a RasterImage object use the CloneAll method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also