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




srcImage
The RasterImage from which to create the new RasterImage.
Constructs a new RasterImage from the specified existing RasterImage object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal srcImage As RasterImage _
)
Visual Basic (Usage)Copy Code
Dim srcImage As RasterImage
 
Dim instance As RasterImage(srcImage)
C# 
public RasterImage( 
   RasterImage srcImage
)
Managed Extensions for C++ 
public: RasterImage( 
   RasterImage* srcImage
)
C++/CLI 
public:
RasterImage( 
   RasterImage^ srcImage
)

Parameters

srcImage
The RasterImage from which to create the new RasterImage.

Example

This example derives a new class from then use the RasterImage(RasterImage) constructor.

Remarks

This constructor will "pull" all the internal data (image pages, metadata, etc) from srcImage and puts a copy of them into the newly created RasterImage.

After calling this constructor, srcImage remains valid and changes to its properties or data will not affect the newly created RasterImage object.

This constructor is useful when deriving your own classes from RasterImage as shown in the example below.

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