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 MustOverride ReadOnly Property BoundingBox As RectangleD
'使用
Dim instance As ShapeElement
Dim value As RectangleD
value = instance.BoundingBox
public abstract RectangleD BoundingBox { get; }
public:
virtual property RectangleD BoundingBox {
RectangleD get () abstract;
}
public abstract 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 point 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.