Freigeben über


AreaField.GetBounds(ShapeElement) Method

Definition

Gets the bounds for this area field from the parent shape, or the default size that was specified.

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

Parameters

parentShape
ShapeElement

ParentShape to get size from.

Returns

Bounding rectangle of this field.

Applies to