Partager via


ShapeElement.GeometryBoundingBox Property

Gets the bounding box of the shape.

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

Syntax

'Declaration
Public ReadOnly Property GeometryBoundingBox As RectangleD
public RectangleD GeometryBoundingBox { get; }
public:
virtual property RectangleD GeometryBoundingBox {
    RectangleD get () sealed;
}
abstract GeometryBoundingBox : RectangleD with get 
override GeometryBoundingBox : RectangleD with get
final function get GeometryBoundingBox () : RectangleD

Property Value

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

Implements

IGeometryHost.GeometryBoundingBox

Remarks

This property should be used with derived classes.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace