LEADTOOLS WPF and Silverlight (Leadtools.Converters assembly)
LEAD Technologies, Inc

TestCompatible Method






The source image.
The options to use when testing.
Tests a Leadtools.RasterImage to see if it is compatible with the WinRT Windows.UI.Xaml.Media.ImageSource. .NET support WinRT support
Syntax
public static ImageIncompatibleReason TestCompatible( 
   RasterImage image,
   ConvertToImageOptions options
)
'Declaration
 
Public Shared Function TestCompatible( _
   ByVal image As RasterImage, _
   ByVal options As ConvertToImageOptions _
) As ImageIncompatibleReason
'Usage
 
Dim image As RasterImage
Dim options As ConvertToImageOptions
Dim value As ImageIncompatibleReason
 
value = RasterImageConverter.TestCompatible(image, options)
public static ImageIncompatibleReason TestCompatible( 
   RasterImage image,
   ConvertToImageOptions options
)
 function Leadtools.Converters.RasterImageConverter.TestCompatible( 
   image ,
   options 
)
public:
static ImageIncompatibleReason TestCompatible( 
   RasterImage^ image,
   ConvertToImageOptions options
) 

Parameters

image
The source image.
options
The options to use when testing.

Return Value

Value indicating the compatibility.
Remarks

For more information on WinRT compatibility, refer to ConvertToImageSource.

For more information refer to RasterImage and WinRT.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImageConverter Class
RasterImageConverter Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.