Share via


NodeShape.AbsoluteBoundingBox Property

The bounding rectangle of the shape, measured relative to the Diagram.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The absolute bounding rectangle for the shape.

Remarks

To set the size or position of the shape, use AbsoluteBounds. This property is provided for uniformity with other ShapeElements.

You can override OnAbsoluteBoundsChanged to respond to changes in the size or position.

The coordinate system is in world units and increases positively down and to the right.

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

AbsoluteBounds

OnAbsoluteBoundsChanged