Wait for an image to appear in a specified portion of the screen.Namespace: Facilita.Fc.Citrix
Assembly: fcCitrix (in fcCitrix.dll) Version: 18.104.22.168
[public WaitForScreenMatch( xPos, yPos, width, height, bitmapFile, timeout, pollingFrequency, searchRadius, maxDiscrepancy = 0 )("WaitForScreenMatch has been deprecated. Please use WaitForImage instead.")]
[ObsoleteAttribute("WaitForScreenMatch has been deprecated. Please use WaitForImage instead.")] public Rectangle WaitForScreenMatch( int xPos, int yPos, int width, int height, string bitmapFile, int timeout, int pollingFrequency, int searchRadius, uint maxDiscrepancy = 0 )
The x co-ordinate of the top-left of the screen rectangle.
The y co-ordinate of the top-left of the screen rectangle.
The width of the screen rectangle.
The height of the screen rectangle.
The location and name of the bitmap file to compare relative to the data folder.
The time in milliseconds before a TimeoutException is raised
The polling frequency, in milliseconds
The search radius expands the search area.
- maxDiscrepancy (Optional)
The maximum number of pixels that are allowed to fail to match
Return ValueThe rectangle where the.image was found. This value is also copied to LastFoundLocation
The call searches for the image (bitmap) until it is is found or the timeout period expires and a TimeoutException is raised.