ShapeGeometry.GetPathCopy Method

Gets a copy of the path around the shape geometry.

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

Syntax

'宣言
Public Function GetPathCopy ( _
    geometryHost As IGeometryHost _
) As GraphicsPath
'使用
Dim instance As ShapeGeometry
Dim geometryHost As IGeometryHost
Dim returnValue As GraphicsPath

returnValue = instance.GetPathCopy(geometryHost)
public GraphicsPath GetPathCopy(
    IGeometryHost geometryHost
)
public:
GraphicsPath^ GetPathCopy(
    IGeometryHost^ geometryHost
)
public function GetPathCopy(
    geometryHost : IGeometryHost
) : GraphicsPath

Parameters

Return Value

Type: System.Drawing.Drawing2D.GraphicsPath

A copy of the path around the shape geometry.

Permissions

See Also

Reference

ShapeGeometry Class

ShapeGeometry Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace