←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 Leadtools.RasterImage, _ 
   ByVal noPalette As Boolean _ 
) As Leadtools.Drawing.ImageIncompatibleReason 

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Drawing Assembly