LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)

TestCompatible Method

Show in webframe





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

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.