ImageCompareTo Method
Compare to the provided image

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: (
VB Usage
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)


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: Image
Output - Image representing all the differences
See Also