GoDiagram Win Reference
GetLinkPointFromPoint Method

Determine the actual point at which a link connected to this port should terminate when the spot is GoObject.NoSpot.
Syntax
'Declaration
 
Public Overridable Function GetLinkPointFromPoint( _
   ByVal p As PointF _
) As PointF
public virtual PointF GetLinkPointFromPoint( 
   PointF p
)

Parameters

p
Remarks
By default this is the same as GetNearestIntersectionPoint for the line from p to the center of this port. But this will just return the GoObject.Center if the point is contained in this port (or PortObject, if any). You may wish to override this method if you want to customize the link point connection dynamically.
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

GoPort Class
GoPort Members
GetFromLinkPoint Method
GetToLinkPoint Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback