GoDiagram Web Reference
StartNewLink Method

Start the process of drawing a new link from a given port.
Syntax
'Declaration
 
Public Overridable Sub StartNewLink( _
   ByVal port As IGoPort, _
   ByVal dc As PointF _
) 
public virtual void StartNewLink( 
   IGoPort port,
   PointF dc
)

Parameters

port
dc
Remarks
If IsValidFromPort is true, the user will be linking in the Forwards direction--i.e. from the source to the destination. This method calls CreateTemporaryPort to create both the StartPort and the EndPort, and it calls CreateTemporaryLink to create the Link. This starts a transaction. On WinForms it also changes the cursor to a Hand.
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