ShapeGeometry.GetPathCopy Method

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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Function GetPathCopy ( _
    geometryHost As IGeometryHost _
) As GraphicsPath
public GraphicsPath GetPathCopy(
    IGeometryHost geometryHost
)
public:
GraphicsPath^ GetPathCopy(
    IGeometryHost^ geometryHost
)
member GetPathCopy : 
        geometryHost:IGeometryHost -> GraphicsPath
public function GetPathCopy(
    geometryHost : IGeometryHost
) : GraphicsPath

Parameters

Return Value

Type: GraphicsPath
A copy of the path around the shape geometry.

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace