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
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe instance of host data for the geometry.
Return Value
Type: System.Drawing.Drawing2D.GraphicsPath
The path around the shape geometry.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.