GoDiagram Win Reference
GetLinkPoint Method

This is called by GetToLinkPoint and GetFromLinkPoint to calculate the appropriate point for a link to connect at, considering the width of the label and the LabelSpacing.
Syntax
'Declaration
 
Public Overridable Function GetLinkPoint( _
   ByVal spot As Integer _
) As PointF
public virtual PointF GetLinkPoint( 
   int spot
)

Parameters

spot

Return Value

the link end point, a PointF
Remarks
If the LabelInside property is true, this just returns GetSpotLocation(spot). Otherwise it computes a point just outside of the label, so that the link does not cross over the label.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoGeneralNodePort Class
GoGeneralNodePort Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback