Wait for a portion of the screen to change.
Namespace: Facilita.Fc.CitrixAssembly: fcCitrix (in fcCitrix.dll) Version: 9.5.7.98
Syntax
Parameters
- xPos
- Type: System Int32
The x co-ordinate of the top-left of the screen rectangle.
- yPos
- Type: System Int32
The y co-ordinate of the top-left of the screen rectangle.
- width
- Type: System Int32
The width of the screen rectangle.
- height
- Type: System Int32
The height of the screen rectangle.
- bitmapFile
- Type: System String
The location and name of the bitmap file to compare relative to the data folder.
- timeout
- Type: System Int32
The time in milliseconds before a TimeoutException is raised
- pollingFrequency
- Type: System Int32
The polling frequency, in milliseconds
- tolerance
- Type: System UInt32
The maximum variation from the original RGB value of each pixel.
- maxDiscrepancy
- Type: System UInt32
The maximum number of pixels that are allowed to fail to match
Remarks
Examples
// Capture a region of the screen to a file SaveScreenshotToFile(0, 0, 20, 10, @"view_batch_screen.bmp"); // Compare screen portion to saved screen portion every five seconds, timeout after 60 seconds WaitForScreenChange(0, 0, 20, 10, "view_batch_screen", 60000, 5000);
See Also