Documentation
Download compressed HTML Help
     
def RanorexPython.ControlCompareImageFile (   hWnd,
  imageFileName,
  xOffset,
  yOffset 
)

The function compares the image of the control with another image loaded from a file.

Parameters:
hWnd Handle to the window.
imageFileName The file name of the image to load.
xOffset (optional) Offset of the x position of the first pixel in the control to compare, relative to the upper-left corner of the control.
yOffset (optional) Offset of the y position of the first pixel in the control to compare, relative to the upper-left corner of the control.
Returns:
True, if the the two images are identical, otherwise False.
Remarks:
Supported only in RanorexPro.

Documentation based on Ranorex Version 1.5.0 - www.ranorex.com