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.

ColorDifference Constructor (Byte)

 

Initializes a new instance of the ColorDifference class, setting red, green, and blue to specified value.

Alpha is set to 255, which indicates maximum tolerance for transparency.

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

public:
ColorDifference(
	unsigned char rgbTolerance
)

Parameters

rgbTolerance
Type: System::Byte

The red, green, and blue color channel difference.

Return to top
Show: