Diagram.AutoLayoutShapeElements Method (ICollection, , , 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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Sub AutoLayoutShapeElements ( _
    shapeElementCollection As ICollection, _
    routingStyle As VGRoutingStyle, _
    placementStyle As PlacementValueStyle, _
    route As Boolean _
)
'Usage
Dim instance As Diagram 
Dim shapeElementCollection As ICollection 
Dim routingStyle As VGRoutingStyle 
Dim placementStyle As PlacementValueStyle 
Dim route As Boolean

instance.AutoLayoutShapeElements(shapeElementCollection, _
    routingStyle, placementStyle, route)
[CLSCompliantAttribute(false)]
public void AutoLayoutShapeElements(
    ICollection shapeElementCollection,
    VGRoutingStyle routingStyle,
    PlacementValueStyle placementStyle,
    bool route
)
[CLSCompliantAttribute(false)]
public:
void AutoLayoutShapeElements(
    ICollection^ shapeElementCollection, 
    VGRoutingStyle routingStyle, 
    PlacementValueStyle placementStyle, 
    bool route
)
public function AutoLayoutShapeElements(
    shapeElementCollection : ICollection, 
    routingStyle : VGRoutingStyle, 
    placementStyle : PlacementValueStyle, 
    route : boolean
)

Parameters

  • routingStyle
    Type: VGRoutingStyle

    The routing style that determines how links between elements appear.

  • placementStyle
    Type: 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.

.NET Framework Security

See Also

Reference

Diagram Class

Diagram Members

AutoLayoutShapeElements Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace