Udostępnij za pośrednictwem


Metoda Diagram.RepositionShapes —

Zmiana kształtów na diagramie.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Diagrams
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Składnia

'Deklaracja
Public Sub RepositionShapes ( _
    topLevelItems As DiagramItemCollection, _
    moveDelta As PointD, _
    ghostShapes As GhostShapeCollection, _
    hitDiagramItem As DiagramItem _
)
public void RepositionShapes(
    DiagramItemCollection topLevelItems,
    PointD moveDelta,
    GhostShapeCollection ghostShapes,
    DiagramItem hitDiagramItem
)

Parametry

  • ghostShapes
    Typ: Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
    Kolekcja kształtów ghost, aby zmienić położenie, lub nullodwołanie o wartości null (Nothing w języku Visual Basic).Kształty Ghost reprezentują kształtów w ich oryginalnym położeniu na diagramie.Jeśli ten parametr jest nullodwołanie o wartości null (Nothing w języku Visual Basic), tworzone są kształty ghost.

Uwagi

Ta metoda przekazuje kolekcji ghost kształty, aby GetCompliantGroupBounds do obliczania przeznaczenia kształtów najwyższego poziomu nadrzędnego w diagramie.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Diagram Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Diagrams