共用方式為


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

自動配置圖表上的項目圖案集合。

此應用程式開發介面不符合 CLS 標準。 

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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 命名空間