ShapeGeometry.GetPerimeter Method

Gets the perimeter around the shape geometry.

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

Syntax

'宣言
Public Overridable Function GetPerimeter ( _
    geometryHost As IGeometryHost _
) As GraphicsPath
'使用
Dim instance As ShapeGeometry
Dim geometryHost As IGeometryHost
Dim returnValue As GraphicsPath

returnValue = instance.GetPerimeter(geometryHost)
public virtual GraphicsPath GetPerimeter(
    IGeometryHost geometryHost
)
public:
virtual GraphicsPath^ GetPerimeter(
    IGeometryHost^ geometryHost
)
public function GetPerimeter(
    geometryHost : IGeometryHost
) : GraphicsPath

Parameters

Return Value

Type: System.Drawing.Drawing2D.GraphicsPath

The perimeter around the shape geometry.

Remarks

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

Permissions

See Also

Reference

ShapeGeometry Class

ShapeGeometry Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace