NodeShape.BoundingBox Property
Gets the bounding rectangle of the shape, measured relative to the ParentShape.
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 BoundingBox As RectangleD
public override RectangleD BoundingBox { get; }
public:
virtual property RectangleD BoundingBox {
RectangleD get () override;
}
abstract BoundingBox : RectangleD with get
override BoundingBox : RectangleD with get
override function get BoundingBox () : RectangleD
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Remarks
To set the size or position, use Bounds. This property is provided for uniformity with other ShapeElements.
.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.