UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
LocateText(Image,String,Rectangle) Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
HP.LFT.SDK.Utils Namespace
>
ImageUtils Class
>
LocateText Method
: LocateText(Image,String,Rectangle) Method
The image to use for the search.
The text string to find.
An inner rectangle within the image.
Returns all rectangle areas within the supplied rectangle that contain the specified text.
Syntax
C#
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.