ShapeGeometry.GetPerimeterBoundingBox(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 rectangular bounds which encompasses the geometry outline, including the thickness of the outline pen that lies outside of the graphics path used to draw the geometry.
protected:
virtual Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetPerimeterBoundingBox(Microsoft::VisualStudio::Modeling::Diagrams::IGeometryHost ^ geometryHost);
protected virtual Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetPerimeterBoundingBox (Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost geometryHost);
abstract member GetPerimeterBoundingBox : Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
override this.GetPerimeterBoundingBox : Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Protected Overridable Function GetPerimeterBoundingBox (geometryHost As IGeometryHost) As RectangleD
Parameters
- geometryHost
- IGeometryHost
The instance data for the geometry.
Returns
Perimeter bounds in world units, relative to its parent.