Udostępnij za pośrednictwem


SnapToGridRule.GetCompliantBounds(ShapeElement, RectangleD) Method

Definition

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