次の方法で共有


ShapeGeometry.GetPerimeterBoundingBox(IGeometryHost) Method

Definition

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.

Applies to