ShapeGeometry.GetPath Method (IGeometryHost)

Gets 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 Overridable Function GetPath ( _
    geometryHost As IGeometryHost _
) As GraphicsPath
'使用
Dim instance As ShapeGeometry
Dim geometryHost As IGeometryHost
Dim returnValue As GraphicsPath

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

Parameters

Return Value

Type: System.Drawing.Drawing2D.GraphicsPath

The path around the shape geometry.

Permissions

See Also

Reference

ShapeGeometry Class

ShapeGeometry Members

GetPath Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace