GoDiagram Web Reference
OnPortChanged Method (GoLabeledLink)

Let links get notifications of changes to either port so labels can be moved and the real link's stroke can be recalculated.
Syntax
'Declaration
 
Public Overridable Sub OnPortChanged( _
   ByVal port As IGoPort, _
   ByVal subhint As Integer, _
   ByVal oldI As Integer, _
   ByVal oldVal As Object, _
   ByVal oldRect As RectangleF, _
   ByVal newI As Integer, _
   ByVal newVal As Object, _
   ByVal newRect As RectangleF _
) 
public virtual void OnPortChanged( 
   IGoPort port,
   int subhint,
   int oldI,
   object oldVal,
   RectangleF oldRect,
   int newI,
   object newVal,
   RectangleF newRect
)

Parameters

port
subhint
oldI
oldVal
oldRect
newI
newVal
newRect
Remarks
Most of the parameters are the same as for GoObject.Changed. This just calls GoLink.OnPortChanged on the RealLink, and then calls LayoutChildren.
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

GoLabeledLink Class
GoLabeledLink Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback