Aracılığıyla paylaş


Diagram.RepositionShapes Yöntem

Şekilleri diyagram içinde yeniden konumlandırır.

Ad alanı:  Microsoft.VisualStudio.Modeling.Diagrams
Derleme:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll içinde)

Sözdizimi

'Bildirim
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
)

Parametreler

  • ghostShapes
    Tür: Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
    Hayali şekilleri yeniden konumlandırmak için koleksiyon veya nullnull başvuru (Visual Basic'te Nothing).Hayali şekilleri en özgün konumlarına diyagramındaki şekilleri temsil eder.Bu parametre ise nullnull başvuru (Visual Basic'te Nothing), hayali şekilleri oluşturulur.

Notlar

Bu yöntem şekillere hayalet topluluğu geçen GetCompliantGroupBounds üst düzey üst şekilleri diyagram hedefini hesaplamak için.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

Diagram Sınıf

Microsoft.VisualStudio.Modeling.Diagrams Ad Alanı