LocateText(Image,String,Rectangle) Method
Returns all rectangle areas within the supplied rectangle that contain the specified text.

C# Syntax

public static Rectangle[] LocateText( 
   Image image,
   string textToFind,
   Rectangle textArea
)

Parameters

image
The image to use for the search.
textToFind
The text string to find.
textArea
An inner rectangle within the image.