Partager via


SelectedShapesCollection.BoundingBox Property

Gets the bounding rectangle surrounding all selected ShapeElements in world units relative to the diagram's top-left.

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 BoundingBox As RectangleD
public RectangleD BoundingBox { get; }
public:
property RectangleD BoundingBox {
    RectangleD get ();
}
member BoundingBox : RectangleD with get
function get BoundingBox () : RectangleD

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

Remarks

The coordinate system increases positively down and to the right.

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace