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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.