CitrixVirtualUserScript FindText Method (String, Int32, Int32, Int32, Int32, )C# API
Use OCR to find some text in an area of the screen.

Namespace: Facilita.Fc.Citrix
Assembly: fcCitrix (in fcCitrix.dll) Version: 9.4.0.26
Syntax

public Rectangle FindText(
	string searchText,
	int x,
	int y,
	int width,
	int height,
	OCROptions ocrOptions
)

Parameters

searchText
Type: System String
the text to find
x
Type: System Int32
The x coordinate of the top left corner of the rectangle to read
y
Type: System Int32
The y coordinate of the top left corner of the rectangle to read
width
Type: System Int32
The width of the rectangle to read
height
Type: System Int32
The height of the rectangle to read
ocrOptions
Type: OCROptions
The OCR options to use

Return Value

A Rectangle specifying the area of the screen where the text was found, or NoMatch if the text could not be found.
See Also