Parse Method

Geometry.Parse Method

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

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public static Geometry Parse(
	string source
)
You cannot use methods in XAML.

Parameters

source
Type: System.String

A string that describes the geometry to be created.

Return Value

Type: System.Windows.Media.Geometry
A new Geometry instance created from the specified string.

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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2016 Microsoft