Geometry.Parse(String) Method

Definition

Creates a new Geometry instance from the specified string using the current culture.

public:
 static System::Windows::Media::Geometry ^ Parse(System::String ^ source);
public static System.Windows.Media.Geometry Parse (string source);
static member Parse : string -> System.Windows.Media.Geometry
Public Shared Function Parse (source As String) As Geometry

Parameters

source
String

A string that describes the geometry to be created.

Returns

A new Geometry instance created from the specified string.

Remarks

See Path Markup Syntax for information about how this string is formatted

Applies to