ShapeGeometry::GetPerimeter Method (IGeometryHost^)

 

Gets the path of the perimeter around the shape, including the width of the pen that draws the boundary. Make a copy of this path if you want to retain it.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual GraphicsPath^ GetPerimeter(
	IGeometryHost^ geometryHost
)

Parameters

geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams::IGeometryHost^

The shape or link.

Return Value

Type: System.Drawing.Drawing2D::GraphicsPath^

The perimeter around the shape geometry.

The perimeter includes the path around the shape geometry and the width of the outline pen outside of the path.

Return to top
Show: