NodeShape.Bounds Property

Gets the bounds for the shape.

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

Syntax

'宣言
Public Overridable Property Bounds As RectangleD
'使用
Dim instance As NodeShape
Dim value As RectangleD

value = instance.Bounds

instance.Bounds = value
public virtual RectangleD Bounds { get; set; }
public:
virtual property RectangleD Bounds {
    RectangleD get ();
    void set (RectangleD value);
}
public function get Bounds () : RectangleD
public function set Bounds (value : RectangleD)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

The bounds for the shape.

Remarks

The bounds define the bounding rectangle for the shape.

Permissions

See Also

Reference

NodeShape Class

NodeShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace