Eyeshot 10 WPF API Reference
CompareWithReferenceImage(Bitmap,Bitmap,Bitmap,viewType,Double) Method

WPF Assembly > devDept.Eyeshot Namespace > ViewportLayout Class > CompareWithReferenceImage Method : CompareWithReferenceImage(Bitmap,Bitmap,Bitmap,viewType,Double) Method
The reference bitmap
The current bitmap as output
The generated image with the differences
The viewType
Transparency factor [between 0.0 and 1.0] for the generated image.
Executes a 3D scene visual testing.
Syntax
'Declaration
 
Public Overloads Function CompareWithReferenceImage( _
   ByVal expectedImage As Bitmap, _
   ByRef actualImage As Bitmap, _
   ByRef diffImage As Bitmap, _
   Optional ByVal viewType As viewType, _
   Optional ByVal pixelTransparency As Double _
) As Double
public double CompareWithReferenceImage( 
   Bitmap expectedImage,
   out Bitmap actualImage,
   out Bitmap diffImage,
   viewType viewType,
   double pixelTransparency
)

Parameters

expectedImage
The reference bitmap
actualImage
The current bitmap as output
diffImage
The generated image with the differences
viewType
The viewType
pixelTransparency
Transparency factor [between 0.0 and 1.0] for the generated image.

Return Value

The mismatch percentage
See Also

Reference

ViewportLayout Class
ViewportLayout Members
Overload List