Compartilhar via


NodeShape.GetCompliantAnchorPoint Method

Calculates compliant AnchorPoint based of the proposedAnchorPoint parameter. This method completely ignores the co-ordinates of the anchorPoint parameter. Calculations are done based on the co-ordinates of the proposedAnchorPoint and the anchorPoint at opposite end of the link corresponding to the anchorPoint parameter.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
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
)
public:
virtual PointD GetCompliantAnchorPoint(
    AnchorPoint^ anchorPoint, 
    PointD proposedAnchorPoint, 
    VGRoutingStyle routingStyle
)
abstract GetCompliantAnchorPoint : 
        anchorPoint:AnchorPoint * 
        proposedAnchorPoint:PointD * 
        routingStyle:VGRoutingStyle -> PointD 
override GetCompliantAnchorPoint : 
        anchorPoint:AnchorPoint * 
        proposedAnchorPoint:PointD * 
        routingStyle:VGRoutingStyle -> PointD 
public function GetCompliantAnchorPoint(
    anchorPoint : AnchorPoint, 
    proposedAnchorPoint : PointD, 
    routingStyle : VGRoutingStyle
) : PointD

Parameters

  • routingStyle
    Type: VGRoutingStyle

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace