NodeShape.Bounds Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.