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.

C# Syntax

public class Location 
Inheritance Hierarchy


Public Constructors
Public ConstructorLocation ConstructorInitializes a new Location instance the using the specified object position and offset points.  
Public Properties
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.