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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public ReadOnly Property BoundingBox As RectangleD
Get
public RectangleD BoundingBox { get; }
public:
property RectangleD BoundingBox {
RectangleD get ();
}
member BoundingBox : RectangleD
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.