共用方式為


NodeShape.AutoLayoutChildShapes 方法

自動放置在圖表中的圖案集合。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Public Sub AutoLayoutChildShapes ( _
    shapeElementMap As IDictionary _
)
public void AutoLayoutChildShapes(
    IDictionary shapeElementMap
)

參數

備註

如果集合包含相對的幾何 (比方說,貼上的兩個圖形 a 和 b,其中元件圖形 b 是上述-和-右邊元件圖形 A) 的圖形,我們將維護其相對的幾何原點],並將其置放在可接受其幾何區域中。這個領域可能超出螢幕外。如果貼上複合圖案中,視需要以符合新的子系,將每次成長複合圖案。(這種情況通常會發生的複製/貼上)。

.NET Framework 安全性

請參閱

參考

NodeShape 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間