GoDiagram Win Reference
CreateTemporaryLink Method

This is responsible for creating a temporary link when the user is drawing a new link.
Syntax
'Declaration
 
Protected Overridable Function CreateTemporaryLink( _
   ByVal fromPort As IGoPort, _
   ByVal toPort As IGoPort _
) As IGoLink
protected virtual IGoLink CreateTemporaryLink( 
   IGoPort fromPort,
   IGoPort toPort
)

Parameters

fromPort
toPort

Return Value

a IGoLink in the view
Remarks
By default this just creates a copy of the GoView.GoView.NewLinkPrototype using fromPort and toPort as the ends of the link. The temporary link has its AdjustingStyle set to GoLinkAdjustingStyle.Calculate. The temporary link is added to the default layer of the view, but unlike temporary ports, is visible.
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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback