Error processing SSI file
LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)

Show in webframe

TestCompatible Method






The source image.
Fails if the image is palletized.
Tests a Leadtools.RasterImage to see if it is compatible with the GDI+ Image.
Syntax
public static ImageIncompatibleReason TestCompatible( 
   RasterImage image,
   bool noPalette
)
'Declaration
 
Public Shared Function TestCompatible( _
   ByVal image As RasterImage, _
   ByVal noPalette As Boolean _
) As ImageIncompatibleReason
'Usage
 
Dim image As RasterImage
Dim noPalette As Boolean
Dim value As ImageIncompatibleReason
 
value = RasterImageConverter.TestCompatible(image, noPalette)
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

See Also

Reference

RasterImageConverter Class
RasterImageConverter Members

Error processing SSI file