Information
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^)

 

Compares two images to check whether they are the same.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
static bool Compare(
	Image^ actualImage,
	Image^ expectedImage
)

Parameters

actualImage
Type: System.Drawing::Image^

Actual image.

expectedImage
Type: System.Drawing::Image^

Expected image.

Return Value

Type: System::Boolean

True if the two images are exactly same.

Return to top
Show: