Click or drag to resize
Ranorex

Location Constructor (Double, Double)

Initializes a new instance of the Location class, using a proportional position.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public Location(
	double xFactor,
	double yFactor
)

Parameters

xFactor
Type: SystemDouble
A value between 0 and 1 representing the horizontal location within an element proportional to its width.
yFactor
Type: SystemDouble
A value between 0 and 1 representing the vertical location within an element proportional to its height.
See Also