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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe shape or link to obtain the path for.
Return Value
Type: System.Drawing.Drawing2D.GraphicsPath
A copy of the path around the shape geometry.
.NET Framework Security
- 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.