Nevron .NET Vision
Nevron.Diagram Namespace / NPlug Class / GetDirectionForPort Method
port for which to provide direction


In This Topic
    GetDirectionForPort Method
    In This Topic
    Provides the direction of the plug for the specified port
    Syntax
    'Declaration
     
    
    Public Overridable Function GetDirectionForPort( _
       ByVal port As NPort _
    ) As NPointF
    'Usage
     
    
    Dim instance As NPlug
    Dim port As NPort
    Dim value As NPointF
     
    value = instance.GetDirectionForPort(port)
    public virtual NPointF GetDirectionForPort( 
       NPort port
    )

    Parameters

    port
    port for which to provide direction

    Return Value

    direction point
    Remarks
    This implementation will simply call the plug container GetPlugDirectionForPort method
    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