←Select platform

TestCompatible Method

Summary

Tests a Leadtools.RasterImage to see if it is compatible with the GDI+ Image.

Syntax
C#
VB
C++
public static ImageIncompatibleReason TestCompatible( 
   RasterImage image, 
   bool noPalette 
) 
Public Shared Function TestCompatible( _ 
   ByVal image As RasterImage, _ 
   ByVal noPalette As Boolean _ 
) As ImageIncompatibleReason 
public: 
static ImageIncompatibleReason TestCompatible(  
   RasterImage^ image, 
   bool noPalette 
)  

Parameters

image
The source image.

noPalette
Fails if the image is palletized.

Return Value

Value indicating the compatibility.

Remarks

For a Leadtools.RasterImage to be compatible with a GDI+ image it needs the following:

For more information, refer to Using The PaintEngine Property.

For more information refer to RasterImage and GDI/GDI+.

Example

For an example, refer to MakeCompatible.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Drawing Assembly