AnchoringBehavior.CenterHorizontally 方法 (ShapeField, AnchoringBehavior.Edge, ShapeField, 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 ShapeField, _
leftSiblingSide As AnchoringBehavior.Edge, _
rightSibling As ShapeField, _
rightSiblingSide As AnchoringBehavior.Edge _
)
public void CenterHorizontally(
ShapeField leftSibling,
AnchoringBehavior.Edge leftSiblingSide,
ShapeField rightSibling,
AnchoringBehavior.Edge rightSiblingSide
)
參數
- leftSibling
型別:Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- leftSiblingSide
型別:Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- rightSibling
型別:Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- rightSiblingSide
型別:Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。