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




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

Syntax

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

Parameters

srcImage
The Image from which to create the new RasterImage.

Example

This example converts between a RasterImage and a GDI+ image.

Remarks

For information about 16bpp grayscale images, refer to The RasterPaintEngine Property and 16bpp Grayscale Images.

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