GoDiagram Web Reference
ImitatePort Method

the value of EndPort
the value of PickNearestPort
Change the endport's behavior for link routing to be like the given port iport.
Syntax
'Declaration
 
Protected Overridable Sub ImitatePort( _
   ByVal endport As IGoPort, _
   ByVal iport As IGoPort _
) 
protected virtual void ImitatePort( 
   IGoPort endport,
   IGoPort iport
)

Parameters

endport
the value of EndPort
iport
the value of PickNearestPort
Remarks
This is just called by DoLinking in order to get the temporary Link to route in the way expected as if it really were being connected to iport. Remember that the endport might be either the "FromPort" or the "ToPort" of a link, depending on the direction the link is being drawn, as given by the value of Forwards.
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