GoDiagram Web Reference
GetFromLinkDir Method (GoPort)

Determine the direction that a link will go when coming out of this port.
Syntax
'Declaration
 
Public Overridable Function GetFromLinkDir( _
   ByVal link As IGoLink _
) As Single
public virtual float GetFromLinkDir( 
   IGoLink link
)

Parameters

link

Return Value

A direction in degrees, where the positive X axis is zero, and where 90 is downward along the positive Y axis.
Remarks
When the value of FromSpot is not GoObject.NoSpot or GoObject.Middle, this just returns the result of calling GetLinkDir. Otherwise this returns one of the horizontal or vertical directions, based on the relative positions of the link's other port. You may wish to override this method if you want to customize dynamically the direction of the link at the link point.
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

GoPort Class
GoPort Members
GetToLinkDir Method
GetLinkDir Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback