AnchoringBehavior.CenterVertically 方法 (NodeShape, AnchoringBehavior.Edge, ShapeField, AnchoringBehavior.Edge, Double)
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
語法
'宣告
Public Sub CenterVertically ( _
topSibling As NodeShape, _
topSiblingSide As AnchoringBehavior.Edge, _
bottomSibling As ShapeField, _
bottomSiblingSide As AnchoringBehavior.Edge, _
percentage As Double _
)
public void CenterVertically(
NodeShape topSibling,
AnchoringBehavior.Edge topSiblingSide,
ShapeField bottomSibling,
AnchoringBehavior.Edge bottomSiblingSide,
double percentage
)
參數
- topSibling
型別:Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
- topSiblingSide
型別:Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- bottomSibling
型別:Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
- bottomSiblingSide
型別:Microsoft.VisualStudio.Modeling.Diagrams.AnchoringBehavior.Edge
- percentage
型別:System.Double
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。