Diagram::AutoLayoutShapeElements Method (ICollection^, VGRoutingStyle, PlacementValueStyle, Boolean)
Visual Studio 2015
Lays out the collection of element shapes on the diagram automatically.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: [CLSCompliantAttribute(false)] void AutoLayoutShapeElements( ICollection^ shapeElementCollection, VGRoutingStyle routingStyle, PlacementValueStyle placementStyle, bool route )
Parameters
- shapeElementCollection
-
Type:
System.Collections::ICollection^
The collection of element shapes.
- routingStyle
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams.GraphObject::VGRoutingStyle
The routing style that determines how links between elements appear.
- placementStyle
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams.GraphObject::PlacementValueStyle
The placement style that determines how elements are positioned in the diagram.
- route
-
Type:
System::Boolean
true to re-route lines if elements have been moved because of boundaries or snap-to-grid actions; otherwise, false.
Show: