次の方法で共有


LinkShapeGeometry.GetPath(IGeometryHost) Method

Definition

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!

public:
 override System::Drawing::Drawing2D::GraphicsPath ^ GetPath(Microsoft::VisualStudio::Modeling::Diagrams::IGeometryHost ^ geometryHost);
public override System.Drawing.Drawing2D.GraphicsPath GetPath (Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost geometryHost);
override this.GetPath : Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost -> System.Drawing.Drawing2D.GraphicsPath
Public Overrides Function GetPath (geometryHost As IGeometryHost) As GraphicsPath

Parameters

geometryHost
IGeometryHost

The instance data for the geometry.

Returns

Applies to