ShapeElement.MoveByRepositioning Method (ElementGroupPrototype, DiagramItemCollection, PointD, DiagramItem)

Repositions the shapes in the group by the amount that the position of the mouse determines.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public Overridable Sub MoveByRepositioning ( _
    elementGroupPrototype As ElementGroupPrototype, _
    topLevelItems As DiagramItemCollection, _
    moveDelta As PointD, _
    hitDiagramItem As DiagramItem _
)
'使用
Dim instance As ShapeElement
Dim elementGroupPrototype As ElementGroupPrototype
Dim topLevelItems As DiagramItemCollection
Dim moveDelta As PointD
Dim hitDiagramItem As DiagramItem

instance.MoveByRepositioning(elementGroupPrototype, _
    topLevelItems, moveDelta, hitDiagramItem)
public virtual void MoveByRepositioning(
    ElementGroupPrototype elementGroupPrototype,
    DiagramItemCollection topLevelItems,
    PointD moveDelta,
    DiagramItem hitDiagramItem
)
public:
virtual void MoveByRepositioning(
    ElementGroupPrototype^ elementGroupPrototype, 
    DiagramItemCollection^ topLevelItems, 
    PointD moveDelta, 
    DiagramItem^ hitDiagramItem
)
public function MoveByRepositioning(
    elementGroupPrototype : ElementGroupPrototype, 
    topLevelItems : DiagramItemCollection, 
    moveDelta : PointD, 
    hitDiagramItem : DiagramItem
)

Parameters

Permissions

See Also

Reference

ShapeElement Class

ShapeElement Members

MoveByRepositioning Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace