다음을 통해 공유


ShapeField.GetBounds(ShapeElement) Method

Definition

Gets the bounds of this ShapeField in world units relative to the top-left of the parent shape.

public:
 virtual Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetBounds(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public virtual Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetBounds (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
abstract member GetBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
override this.GetBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Overridable Function GetBounds (parentShape As ShapeElement) As RectangleD

Parameters

parentShape
ShapeElement

The parent shape of this field.

Returns

The bounds of this ShapeField in world units relative to the top-left of the parent shape.

Applies to