Udostępnij za pośrednictwem


Metoda Diagram.AutoLayoutShapeElements — (ICollection, VGRoutingStyle, PlacementValueStyle, Boolean)

Automatycznie rozmieszcza kolekcję kształtów elementów na diagramie.

Ten interfejs API nie jest zgodny ze specyfikacją CLS. 

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

Składnia

'Deklaracja
<CLSCompliantAttribute(False)> _
Public Sub AutoLayoutShapeElements ( _
    shapeElementCollection As ICollection, _
    routingStyle As VGRoutingStyle, _
    placementStyle As PlacementValueStyle, _
    route As Boolean _
)
[CLSCompliantAttribute(false)]
public void AutoLayoutShapeElements(
    ICollection shapeElementCollection,
    VGRoutingStyle routingStyle,
    PlacementValueStyle placementStyle,
    bool route
)

Parametry

  • route
    Typ: System.Boolean
    true do zmiany trasy linii, jeśli elementy zostały przeniesione ze względu na granice lub akcje Przyciągaj do siatki; w przeciwnym razie false.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Diagram Klasa

Przeciążenie AutoLayoutShapeElements

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Diagrams