Diagram::GetCompliantGroupBounds Method (ShapeElement^, GhostShapeCollection^, PointD)
Visual Studio 2015
Updates the collection of ghost shapes so that it complies with the source shape's group bounds rules.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: virtual void GetCompliantGroupBounds( ShapeElement^ targetShape, GhostShapeCollection^ ghostShapes, PointD proposedLocationDelta )
Parameters
- targetShape
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^
The parent shape, or null if its child shapes are not being assigned to it but just repositioned on the diagram.
- ghostShapes
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::GhostShapeCollection^
A collection of ghost shapes.
- proposedLocationDelta
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::PointD
The delta for a ghost shape.
If a shape has no group bounds rules, the rules for the diagram are used.
Ghost shapes represent the parent shapes at their original locations in the diagram.
Show: