Use OCR to read some text from an area of the screen.Namespace: Facilita.Fc.Citrix
Assembly: fcCitrix (in fcCitrix.dll) Version: 220.127.116.11
public ReadText( x, y, width, height, language = null, < > preferredWords = null, < > validWords = null, validCharacters = null, validPattern = null, textRotation = .NoRotation )
public string ReadText( int x, int y, int width, int height, string language = null, IList<string> preferredWords = null, IList<string> validWords = null, string validCharacters = null, string validPattern = null, Rotation textRotation = Rotation.NoRotation )
The x coordinate of the top left corner of the rectangle to read
The y coordinate of the top left corner of the rectangle to read
The width of the rectangle to read
The height of the rectangle to read
- language (Optional)
The language the text is in (optional)
- preferredWords (Optional)
Specifies words that should be returned if found. However, if these are not found then other words will be returned instead.
- validWords (Optional)
Specifies the words that may be returned.
- validCharacters (Optional)
The set of characters that may be returned
- validPattern (Optional)
A regular expression value. Only characters or words that match the pattern specified will be returned.
- textRotation (Optional)
Specifies how the text has been rotated
Return ValueThe text that has been read from the screen