Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PathGeometry.AddGeometry Method (Geometry)


Converts the specified Geometry into a collection of PathFigure objects and adds it to the path. Note: If the specified Geometry is animated, the conversion from Geometry to PathFigure may result in some loss of information.

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

public void AddGeometry(
	Geometry geometry


Type: System.Windows.Media.Geometry

The geometry to add to the path.

.NET Framework
Available since 3.0
Return to top
© 2017 Microsoft