ShapeElement.BoundingBox Property

The bounding rectangle, measured relative to the ParentShape.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property BoundingBox As RectangleD
'Usage
Dim instance As ShapeElement 
Dim value As RectangleD 

value = instance.BoundingBox
public abstract RectangleD BoundingBox { get; }
public:
virtual property RectangleD BoundingBox {
    RectangleD get () abstract;
}
public abstract function get BoundingBox () : RectangleD

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

Remarks

The coordinate system increases down and to the right.

To get the bounds relative to the Diagram, use AbsoluteBoundingBox.

.NET Framework Security

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace

ParentShape

Diagram

AbsoluteBoundingBox