UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
ImageUtils Class
A class for image utilities, such as OCR, image comparisons, and image find operations.
Syntax
public class ImageUtils 
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.Utils.ImageUtils

Public Constructors
 NameDescription
Public ConstructorImageUtils Constructor  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)CompareImagesOverloaded. Checks whether two images are a match, given the specified pixel and RGB tolerance values.  
Public Methodstatic (Shared in Visual Basic)GetImageLocationsReturns the first 100 locations of an image inside the source image. If the number of images found exceeds 100 images, a GeneralReplayException is thrown.  
Public Methodstatic (Shared in Visual Basic)GetTextOverloaded. Returns all text within the supplied image.  
Public Methodstatic (Shared in Visual Basic)LocateImageLocates an image inside the provided source image.  
Public Methodstatic (Shared in Visual Basic)LocateTextOverloaded. Returns all rectangle areas within the supplied image that contain the specified text.  
Top