NodeShape.BoundingBox Property

Gets the bounding rectangle for the shape.

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

Syntax

'宣言
Public Overrides ReadOnly Property BoundingBox As RectangleD
'使用
Dim instance As NodeShape
Dim value As RectangleD

value = instance.BoundingBox
public override RectangleD BoundingBox { get; }
public:
virtual property RectangleD BoundingBox {
    RectangleD get () override;
}
public override function get BoundingBox () : RectangleD

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

The bounding rectangle for the shape.

Remarks

The location of the bounding rectangle is relative to the top-left corner of the diagram.

Permissions

See Also

Reference

NodeShape Class

NodeShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace