The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ImageComparer::Compare Method (Image^, Image^, Image^)
Compares two images to check whether they are the same, and calculates the difference between the two images as a diff image.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
public: static bool Compare( Image^ actualImage, Image^ expectedImage, [OutAttribute] Image^% diffImage )
Parameters
- actualImage
-
Type:
System.Drawing::Image^
Actual image.
- expectedImage
-
Type:
System.Drawing::Image^
Expected image.
- diffImage
-
Type:
System.Drawing::Image^
An image whose argb values represent the difference between the two images.
Show: