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
- 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.