Export (0) Print
Expand All

Diagram.AutoLayoutShapeElements Method (ICollection, VGRoutingStyle, PlacementValueStyle, Boolean)

Lays out the collection of element shapes on the diagram automatically.

This API is not CLS-compliant. 

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

[CLSCompliantAttribute(false)]
public 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:
© 2014 Microsoft