共用方式為


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

Syntax

'宣告
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: System.Drawing.Drawing2D.GraphicsPath
A copy of the path around the shape geometry.

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace