UFT Pro (LeanFT) .NET SDK Reference, Version 14.00
Location Class
Provides a location (relative to an object in the application) for operations that support it. For example, the Click method uses the Location structure to determine where inside this object to perform the click.
Syntax
public class Location 
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.Location

Public Constructors
 NameDescription
Public ConstructorLocation ConstructorInitializes a new Location instance the using the specified object position and offset points.  
Top
Public Properties
 NameDescription
Public PropertyAnchorThe object position from which the offset is taken. Possible values: Position.  
Public PropertyOffsetThe x- and y- offset (in pixels) from the anchor position. Default value = 0,0.  
Top