ShapeGeometry::GetPerimeterBoundingBox Method (IGeometryHost^)
Visual Studio 2015
Gets the bounding box around the perimeter of the shape, including the thickness of the pen that draws the boundary.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- geometryHost
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::IGeometryHost^
The shape or link.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleDThe bounding box around the perimeter of the shape geometry.
The perimeter includes the path around the shape geometry and the width of the outline pen outside of the path.
Show: