Environment.CompareWithReferenceImage (Bitmap, Bitmap, Bitmap, viewType, Double, Color) Method
Public Function CompareWithReferenceImage( _
ByVal expectedImage As Bitmap, _
ByRef actualImage As Bitmap, _
ByRef diffImage As Bitmap, _
ByVal viewType As viewType, _
ByVal pixelTransparency As Double, _
ByVal errorPixelColor As Color _
) As Double
This language is not supported or no code example is available.
Parameters
- expectedImage
- Bitmap
The reference bitmap
- actualImage
- Bitmap
The current bitmap as output
- diffImage
- Bitmap
The generated image with the differences
- viewType
- viewType
The viewType.
- pixelTransparency
- double
Transparency factor [between 0.0 and 1.0] for the generated image.
- errorPixelColor
- Color
The color used to show the differences
Return Value
doubleThe mismatch percentage