ShapeSubField.GetBounds(ShapeElement, ShapeField) Method

Definition

Returns the bounds in world coordinates relative to the top-left of the parent shape.

public:
 abstract Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetBounds(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField);
public abstract Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetBounds (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField);
abstract member GetBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public MustOverride Function GetBounds (parentShape As ShapeElement, parentField As ShapeField) As RectangleD

Parameters

parentShape
ShapeElement

The parent ShapeElement of this ShapeSubField.

parentField
ShapeField

The parent ShapeField of this ShapeSubField.

Returns

The bounds in world coordinates relative to the top-left of the parent shape.

Applies to