Compare to the provided image
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax Dim instance As Image
Dim image As Object
Dim center As Boolean
Dim offsetX As Integer
Dim offsetY As Integer
Dim autoDispose As Boolean
Dim returnValue As Image
returnValue = instance.CompareTo(image,
center, offsetX, offsetY, autoDispose)
Parameters
- image
- Type: SystemObject
Image path or Image object - center (Optional)
- Type: SystemBoolean
Center the image B horizontally on image A - offsetX (Optional)
- Type: SystemInt32
Translates image B horizontally by the specified amount. - offsetY (Optional)
- Type: SystemInt32
Translates image B vertically by the specified amount. - autoDispose (Optional)
- Type: SystemBoolean
Release the image resources once done
Return Value
Type:
ImageOutput - Image representing all the differences
See Also