LinkShapeGeometry.GetPath(IGeometryHost) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.