Share via


NoBoundsRules.GetCompliantBounds(ShapeElement, RectangleD) Method

Definition

Always accept the proposed bounds.

public:
 override Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetCompliantBounds(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD proposedBounds);
public override Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetCompliantBounds (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD proposedBounds);
override this.GetCompliantBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Overrides Function GetCompliantBounds (shape As ShapeElement, proposedBounds As RectangleD) As RectangleD

Parameters

shape
ShapeElement
proposedBounds
RectangleD

Returns

Applies to