Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
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
- anchorPoint
Type: Microsoft.VisualStudio.Modeling.Diagrams.AnchorPoint
- proposedAnchorPoint
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
- routingStyle
Type: VGRoutingStyle
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.