←Select platform

TestCompatible Method

Summary

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

Syntax

C#
VB
C++
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Drawing Assembly
Click or drag to resize