RanorexRanorex Documentation
Parse Method (locationString)
NamespacesRanorexLocationParse(String)
Creates a new instance of the Location class from its string representation.
Declaration Syntax
C#Visual BasicVisual C++
public static Location Parse(
	string locationString
)
Public Shared Function Parse ( _
	locationString As String _
) As Location
public:
static Location^ Parse(
	String^ locationString
)
Parameters
locationString (String)
The location string. Supports various different formats.
Return Value
The new instance.
Examples
Examples for location strings:
'1;2' or '1,2' results in a fixed relative location in pixels.
'0.4;0.6' or '.3,.7' results in a location proportional to the elements size.
Use of the names of location presets (e.g. 'center') is also permitted.
Exceptions
ExceptionCondition
FormatExceptionIf the string representation is not valid.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)