Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal srcImage As RasterImage _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.
This example derives a new class from then use the RasterImage(RasterImage) constructor.
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.
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