共用方式為


AnchoringBehavior.CenterHorizontally 方法 (NodeShape, AnchoringBehavior.Edge, NodeShape, AnchoringBehavior.Edge)

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

語法

'宣告
Public Sub CenterHorizontally ( _
    leftSibling As NodeShape, _
    leftSiblingSide As AnchoringBehavior.Edge, _
    rightSibling As NodeShape, _
    rightSiblingSide As AnchoringBehavior.Edge _
)
public void CenterHorizontally(
    NodeShape leftSibling,
    AnchoringBehavior.Edge leftSiblingSide,
    NodeShape rightSibling,
    AnchoringBehavior.Edge rightSiblingSide
)

參數

.NET Framework 安全性

請參閱

參考

AnchoringBehavior 類別

CenterHorizontally 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間