Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / CompareWithReferenceImage Method / CompareWithReferenceImage(Bitmap,Bitmap,Bitmap,Double) Method
The reference bitmap
The current bitmap as input
The generated image with the differences
Transparency factor [between 0.0 and 1.0] for the generated image.

In This Topic
    CompareWithReferenceImage(Bitmap,Bitmap,Bitmap,Double) Method
    In This Topic
    Executes a 3D scene visual testing.
    Syntax
    'Declaration
     
    Public Overloads Function CompareWithReferenceImage( _
       ByVal expectedImage As Bitmap, _
       ByVal actualImage As Bitmap, _
       ByRef diffImage As Bitmap, _
       Optional ByVal pixelTransparency As Double _
    ) As Double
    public double CompareWithReferenceImage( 
       Bitmap expectedImage,
       Bitmap actualImage,
       out Bitmap diffImage,
       double pixelTransparency
    )

    Parameters

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

    Return Value

    The mismatch percentage
    See Also