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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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

Return Value

Type: GraphicsPath

.NET Framework Security

See Also

Reference

LinkShapeGeometry Class

GetPath Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace