Diagram.AutoLayoutShapeElements 方法 (ICollection, VGRoutingStyle, PlacementValueStyle, Boolean)

自动布局元素形状的集合在关系图上。

此 API 不兼容 CLS。 

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
<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
)

参数

  • route
    类型:System.Boolean
    重新路由行的true 由于边界或转至网格事件,因此,如果元素已移动;否则, false。

.NET Framework 安全性

请参见

参考

Diagram 类

AutoLayoutShapeElements 重载

Microsoft.VisualStudio.Modeling.Diagrams 命名空间