ImageComparer.Compare ImageComparer.Compare ImageComparer.Compare ImageComparer.Compare Method

Definition

Overloads

Compare(Image, Image) Compare(Image, Image) Compare(Image, Image) Compare(Image, Image)
Compare(Image, Image, ColorDifference) Compare(Image, Image, ColorDifference) Compare(Image, Image, ColorDifference) Compare(Image, Image, ColorDifference)
Compare(Image, Image, List<ToleranceRectangle>) Compare(Image, Image, List<ToleranceRectangle>) Compare(Image, Image, List<ToleranceRectangle>) Compare(Image, Image, List<ToleranceRectangle>)
Compare(Image, Image, Image) Compare(Image, Image, Image) Compare(Image, Image, Image) Compare(Image, Image, Image)
Compare(Image, Image, ColorDifference, Image) Compare(Image, Image, ColorDifference, Image) Compare(Image, Image, ColorDifference, Image) Compare(Image, Image, ColorDifference, Image)
Compare(Image, Image, List<ToleranceRectangle>, Image) Compare(Image, Image, List<ToleranceRectangle>, Image) Compare(Image, Image, List<ToleranceRectangle>, Image) Compare(Image, Image, List<ToleranceRectangle>, Image)

Compare(Image, Image) Compare(Image, Image) Compare(Image, Image) Compare(Image, Image)

public:
 static bool Compare(System::Drawing::Image ^ actualImage, System::Drawing::Image ^ expectedImage);
public static bool Compare (System.Drawing.Image actualImage, System.Drawing.Image expectedImage);
static member Compare : System.Drawing.Image * System.Drawing.Image -> bool
Public Shared Function Compare (actualImage As Image, expectedImage As Image) As Boolean

Parameters

actualImage
Image Image Image Image
expectedImage
Image Image Image Image

Returns

Compare(Image, Image, ColorDifference) Compare(Image, Image, ColorDifference) Compare(Image, Image, ColorDifference) Compare(Image, Image, ColorDifference)

public:
 static bool Compare(System::Drawing::Image ^ actualImage, System::Drawing::Image ^ expectedImage, Microsoft::VisualStudio::TestTools::UITesting::ColorDifference ^ argbTolerance);
public static bool Compare (System.Drawing.Image actualImage, System.Drawing.Image expectedImage, Microsoft.VisualStudio.TestTools.UITesting.ColorDifference argbTolerance);
static member Compare : System.Drawing.Image * System.Drawing.Image * Microsoft.VisualStudio.TestTools.UITesting.ColorDifference -> bool
Public Shared Function Compare (actualImage As Image, expectedImage As Image, argbTolerance As ColorDifference) As Boolean

Parameters

actualImage
Image Image Image Image
expectedImage
Image Image Image Image

Returns

Compare(Image, Image, List<ToleranceRectangle>) Compare(Image, Image, List<ToleranceRectangle>) Compare(Image, Image, List<ToleranceRectangle>) Compare(Image, Image, List<ToleranceRectangle>)

public:
 static bool Compare(System::Drawing::Image ^ actualImage, System::Drawing::Image ^ expectedImage, System::Collections::Generic::List<Microsoft::VisualStudio::TestTools::UITesting::ToleranceRectangle> ^ rectangleList);
public static bool Compare (System.Drawing.Image actualImage, System.Drawing.Image expectedImage, System.Collections.Generic.List<Microsoft.VisualStudio.TestTools.UITesting.ToleranceRectangle> rectangleList);
static member Compare : System.Drawing.Image * System.Drawing.Image * System.Collections.Generic.List<Microsoft.VisualStudio.TestTools.UITesting.ToleranceRectangle> -> bool
Public Shared Function Compare (actualImage As Image, expectedImage As Image, rectangleList As List(Of ToleranceRectangle)) As Boolean

Parameters

actualImage
Image Image Image Image
expectedImage
Image Image Image Image
rectangleList
List<ToleranceRectangle>

Returns

Compare(Image, Image, Image) Compare(Image, Image, Image) Compare(Image, Image, Image) Compare(Image, Image, Image)

public:
 static bool Compare(System::Drawing::Image ^ actualImage, System::Drawing::Image ^ expectedImage, [Runtime::InteropServices::Out] System::Drawing::Image ^ % diffImage);
public static bool Compare (System.Drawing.Image actualImage, System.Drawing.Image expectedImage, out System.Drawing.Image diffImage);
static member Compare : System.Drawing.Image * System.Drawing.Image *  -> bool
Public Shared Function Compare (actualImage As Image, expectedImage As Image, ByRef diffImage As Image) As Boolean

Parameters

actualImage
Image Image Image Image
expectedImage
Image Image Image Image
diffImage
Image Image Image Image

Returns

Compare(Image, Image, ColorDifference, Image) Compare(Image, Image, ColorDifference, Image) Compare(Image, Image, ColorDifference, Image) Compare(Image, Image, ColorDifference, Image)

public:
 static bool Compare(System::Drawing::Image ^ actualImage, System::Drawing::Image ^ expectedImage, Microsoft::VisualStudio::TestTools::UITesting::ColorDifference ^ argbTolerance, [Runtime::InteropServices::Out] System::Drawing::Image ^ % diffImage);
public static bool Compare (System.Drawing.Image actualImage, System.Drawing.Image expectedImage, Microsoft.VisualStudio.TestTools.UITesting.ColorDifference argbTolerance, out System.Drawing.Image diffImage);
static member Compare : System.Drawing.Image * System.Drawing.Image * Microsoft.VisualStudio.TestTools.UITesting.ColorDifference *  -> bool
Public Shared Function Compare (actualImage As Image, expectedImage As Image, argbTolerance As ColorDifference, ByRef diffImage As Image) As Boolean

Parameters

actualImage
Image Image Image Image
expectedImage
Image Image Image Image
diffImage
Image Image Image Image

Returns

Compare(Image, Image, List<ToleranceRectangle>, Image) Compare(Image, Image, List<ToleranceRectangle>, Image) Compare(Image, Image, List<ToleranceRectangle>, Image) Compare(Image, Image, List<ToleranceRectangle>, Image)

public:
 static bool Compare(System::Drawing::Image ^ actualImage, System::Drawing::Image ^ expectedImage, System::Collections::Generic::List<Microsoft::VisualStudio::TestTools::UITesting::ToleranceRectangle> ^ rectangleList, [Runtime::InteropServices::Out] System::Drawing::Image ^ % diffImage);
public static bool Compare (System.Drawing.Image actualImage, System.Drawing.Image expectedImage, System.Collections.Generic.List<Microsoft.VisualStudio.TestTools.UITesting.ToleranceRectangle> rectangleList, out System.Drawing.Image diffImage);
static member Compare : System.Drawing.Image * System.Drawing.Image * System.Collections.Generic.List<Microsoft.VisualStudio.TestTools.UITesting.ToleranceRectangle> *  -> bool
Public Shared Function Compare (actualImage As Image, expectedImage As Image, rectangleList As List(Of ToleranceRectangle), ByRef diffImage As Image) As Boolean

Parameters

actualImage
Image Image Image Image
expectedImage
Image Image Image Image
rectangleList
List<ToleranceRectangle>
diffImage
Image Image Image Image

Returns

Applies to