Share via


ShapeGeometry.GetPerimeterBoundingBox Method

Gets the bounding box around the perimeter of the shape, including the thickness of the pen that draws the boundary.

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

Syntax

'Declaration
Protected Overridable Function GetPerimeterBoundingBox ( _
    geometryHost As IGeometryHost _
) As RectangleD
protected virtual RectangleD GetPerimeterBoundingBox(
    IGeometryHost geometryHost
)
protected:
virtual RectangleD GetPerimeterBoundingBox(
    IGeometryHost^ geometryHost
)
abstract GetPerimeterBoundingBox : 
        geometryHost:IGeometryHost -> RectangleD  
override GetPerimeterBoundingBox : 
        geometryHost:IGeometryHost -> RectangleD
protected function GetPerimeterBoundingBox(
    geometryHost : IGeometryHost
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The bounding box around the perimeter of the shape geometry.

Remarks

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

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace