다음을 통해 공유


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)

Syntax

'Declaration
<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
)
[CLSCompliantAttribute(false)]
public:
void AutoLayoutShapeElements(
    ICollection^ shapeElementCollection, 
    VGRoutingStyle routingStyle, 
    PlacementValueStyle placementStyle, 
    bool route
)
[<CLSCompliantAttribute(false)>]
member AutoLayoutShapeElements : 
        shapeElementCollection:ICollection * 
        routingStyle:VGRoutingStyle * 
        placementStyle:PlacementValueStyle * 
        route:bool -> unit
public function AutoLayoutShapeElements(
    shapeElementCollection : ICollection, 
    routingStyle : VGRoutingStyle, 
    placementStyle : PlacementValueStyle, 
    route : boolean
)

Parameters

  • 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

AutoLayoutShapeElements Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace