shubham1
5 years agoOccasional Contributor
Region.find is always returning true
I have used Regions.Find to find an image(stored in Region) in an object.
But the code is passing even when the image is not present in the object
Object = Aliases.VizGui.wndViz.TkChild.TkChild.TkChild.PeakOCSWnd; is an image.
ss= it is the region i have created.
Below code will help you compare the ss regions to get compare with the Object
Regions.Items(ss).Check(Object , false, false, 1, 1);