GetTextLocations(String,Rectangle) Method
Returns all rectangle areas within the supplied rectangle that contain the specified text (Windows only).

C# Syntax

Parameters

textToFind
The text string to find.
textArea
An inner rectangle within this object.