共用方式為


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
)

參數

傳回值

類型:Microsoft.VisualStudio.Modeling.Diagrams.PointD

.NET Framework 安全性

請參閱

參考

NodeShape 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間