ShapeGeometry::GetPathCopy Method (IGeometryHost^)

 

Gets a copy of the path around the shape geometry. Dispose the path when you have finished with it.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
GraphicsPath^ GetPathCopy(
	IGeometryHost^ geometryHost
)

Parameters

geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams::IGeometryHost^

The shape or link to obtain the path for.

Return Value

Type: System.Drawing.Drawing2D::GraphicsPath^

A copy of the path around the shape geometry.

Return to top
Show: