Environment.CompareWithReferenceImage (Bitmap, Bitmap, Bitmap, viewType, Double) Method
Public Function CompareWithReferenceImage( _
ByVal expectedImage As Bitmap, _
ByRef actualImage As Bitmap, _
ByRef diffImage As Bitmap, _
Optional ByVal viewType As viewType = viewType.Trimetric, _
Optional ByVal pixelTransparency As Double = 0.3 _
) 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.
Return Value
doubleThe mismatch percentage