GoDiagram Web Reference
DoLinking Method

a PointF in document coordinates, the mouse position
This method is called by DoMouseMove to find the nearest valid port and adjust the temporary link according to where the given point is.
Syntax
'Declaration
 
Public Overridable Sub DoLinking( _
   ByVal dc As PointF _
) 
public virtual void DoLinking( 
   PointF dc
)

Parameters

dc
a PointF in document coordinates, the mouse position
Remarks
This calls PickNearestPort to find the closest valid port that we might link to, and passes the result to ImitatePort to get the EndPort to behave like that port. It also sets the GoObject.Bounds of the EndPort so that the temporary link appears to either follow the mouse pointer or connect to a nearby valid port.
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

GoToolLinking Class
GoToolLinking Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback