Compartir a través de


NodeShape.Bounds Property

Definition

Gets or sets the shape's bounds in world units relative to the top-left of the parent shape.

public:
 virtual property Microsoft::VisualStudio::Modeling::Diagrams::RectangleD Bounds { Microsoft::VisualStudio::Modeling::Diagrams::RectangleD get(); void set(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD value); };
public virtual Microsoft.VisualStudio.Modeling.Diagrams.RectangleD Bounds { get; set; }
member this.Bounds : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD with get, set
Public Overridable Property Bounds As RectangleD

Property Value

Remarks

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

The BoundingBox is only gettable and refers to the calculated rectangular space that a shape is entirely within. The Bounds, on the other hand, is both settable and gettable, and the BoundingBox is based on the Bounds.

Applies to