DefaultBoundsRules::GetCompliantBounds Method (ShapeElement^, RectangleD)
Visual Studio 2015
Returns the compliant bounds in world units relative to the top-left of the parent using this bounds rule.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: virtual RectangleD GetCompliantBounds( ShapeElement^ shape, RectangleD proposedBounds ) override
Parameters
- shape
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^
The shape whose proposed bounds are to be checked for compliance with this bounds rule.
- proposedBounds
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::RectangleD
The proposed bounds in world units relative to the top-left of the shape's parent.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleD
Show: