Table of Contents

Class Location

Namespace
HP.LFT.SDK
Assembly
HP.LFT.SDK.dll

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.

public class Location
Inheritance
Location
Inherited Members

Constructors

Location(Position, Point?)

Initializes a new Location instance the using the specified object position and offset points.

public Location(Position anchor, Point? offset = null)

Parameters

anchor Position

The object position from which the offset is taken. Possible values: Position.

offset Point?

The x- and y- offset (in pixels) from the anchor position. If null, the point is (0,0).

Properties

Anchor

The object position from which the offset is taken. Possible values: Position.

public Position Anchor { get; set; }

Property Value

Position

Offset

The x- and y- offset (in pixels) from the anchor position. Default value = 0,0.

public Point Offset { get; set; }

Property Value

Point