ShapeElement.BoundingBox Property

The bounding rectangle, measured relative to the ParentShape.

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

Syntax

声明
Public MustOverride ReadOnly Property BoundingBox As RectangleD
    Get
public abstract RectangleD BoundingBox { get; }
public:
virtual property RectangleD BoundingBox {
    RectangleD get () abstract;
}
abstract BoundingBox : RectangleD
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace

ParentShape

Diagram

AbsoluteBoundingBox