NodeShape.GetCompliantAnchorPoint 方法

計算標準的 AnchorPoint proposedAnchorPoint 參數的基礎。這個方法完全略過 anchorPoint 參數的 co-ordinates。計算都根據 proposedAnchorPoint 和 anchorPoint,在 anchorPoint 參數相對應的連結的另一端的 co-ordinates。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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 命名空間