ShapeElement::MoveByRepositioning Method (ElementGroupPrototype^, DiagramItemCollection^, PointD, DiagramItem^)
Visual Studio 2015
Repositions the shapes in the group by the amount that the position of the mouse determines.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: virtual void MoveByRepositioning( ElementGroupPrototype^ elementGroupPrototype, DiagramItemCollection^ topLevelItems, PointD moveDelta, DiagramItem^ hitDiagramItem )
Parameters
- elementGroupPrototype
-
Type:
Microsoft.VisualStudio.Modeling::ElementGroupPrototype^
The group that contains the shapes to move.
- topLevelItems
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramItemCollection^
The collection of top-level shapes in the group.
- moveDelta
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::PointD
The new placement of the shapes.
- hitDiagramItem
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^
The shape upon which to perform the hit test.
Show: