Changes a LEADTOOLS Leadtools.RasterImage to a GDI+ System.Drawing.Image.
image
The source image.
options
The conversion options.
The GDI+ image that this method creates.
This result GDI+ image and the Leadtools.RasterImage object will share the same image data. You can use this method to pass a LEAD Leadtools.RasterImage object to other class library methods that expect a GDI+ System.Drawing.Image object. Use the ConvertToImage method to obtain a GDI+ System.Drawing.Image object that is a copy of this Leadtools.RasterImage object.
Calling this method may change the internal format of this Leadtools.RasterImage object.
Use TestCompatible to determine if the image is compatible for conversion to a GDI+ image.
For a Leadtools.RasterImage to be compatible with a GDI+ image it needs the following:
To convert a GDI+ image to a LEADTOOLS Leadtools.RasterImage, use ConvertFromImage.
For more information, refer to Using The PaintEngine Property.
For more information refer to RasterImage and GDI/GDI+.
Products |
Support |
Feedback: ChangeToImage Method - Leadtools.Drawing |
Introduction |
Help Version 19.0.2017.3.21
|