NodeShape.GetCompliantAnchorPoint 方法
根據 proposedAnchorPoint 參數計算符合標準的 AnchorPoint 這個方法完全略過 anchorPoint 參數的座標。 已完成根據對應於 anchorPoint 參數之連結另一端 proposedAnchorPoint 及 anchorPoint 座標的計算。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
語法
'宣告
Public Overridable Function GetCompliantAnchorPoint ( _
anchorPoint As AnchorPoint, _
proposedAnchorPoint As PointD, _
routingStyle As VGRoutingStyle _
) As PointD
public virtual PointD GetCompliantAnchorPoint(
AnchorPoint anchorPoint,
PointD proposedAnchorPoint,
VGRoutingStyle routingStyle
)
參數
- anchorPoint
類型:Microsoft.VisualStudio.Modeling.Diagrams.AnchorPoint
- proposedAnchorPoint
類型:Microsoft.VisualStudio.Modeling.Diagrams.PointD
傳回值
類型:Microsoft.VisualStudio.Modeling.Diagrams.PointD
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。