LinkShapeGeometry.GetPath Method (IGeometryHost)
Gets the GraphicsPath describing the geometry. This returns a rectangle path by default. This is a singleton on the geometry. Do not dispose. This is a singleton on the geometry class. Do not dispose. Use immediately. Use GetPathCopy if another path is needed!
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 Overrides Function GetPath ( _
geometryHost As IGeometryHost _
) As GraphicsPath
public override GraphicsPath GetPath(
IGeometryHost geometryHost
)
public:
virtual GraphicsPath^ GetPath(
IGeometryHost^ geometryHost
) override
abstract GetPath :
geometryHost:IGeometryHost -> GraphicsPath
override GetPath :
geometryHost:IGeometryHost -> GraphicsPath
public override function GetPath(
geometryHost : IGeometryHost
) : GraphicsPath
Parameters
geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHostThe instance data for the geometry.
Return Value
Type: System.Drawing.Drawing2D.GraphicsPath
.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.