Indicates the painting engine to use when rendering images using the Windows GDI or GDI+ engines..
public enum RasterPaintEngine
Public Enum RasterPaintEngine
public enum class RasterPaintEngine
|0||Gdi||Use Windows GDI when painting Leadtools.RasterImage objects|
|1||GdiPlus||Use Windows GDI+ when painting Leadtools.RasterImage objects|
When the RasterPaintEngine.GdiPlus engine is used, the RasterImagePainter.Paint method internally will call GDI+ Graphics.DrawImage methods to paint the image. Note that if the Leadtools.RasterImage object is not fully compatible with GDI+, the framework will internally make a copy of parts of the image data (bands) and paints them to the destination device. The original data is not converted and no changes will be made to the original image.
Choosing a paint engine depends on the Leadtools.RasterImage object and your specific needs:
For an example, refer to RasterPaintProperties.