Nevron .NET Vision
Nevron.Diagram Namespace / NPort Class / GetAnchorForPlug Method
plug for which to obtain anchor


In This Topic
    GetAnchorForPlug Method (NPort)
    In This Topic
    Gets the anchor point for the specified plug
    Syntax
    'Declaration
     
    
    Public Overridable Function GetAnchorForPlug( _
       ByVal plug As NPlug _
    ) As NPointF
    'Usage
     
    
    Dim instance As NPort
    Dim plug As NPlug
    Dim value As NPointF
     
    value = instance.GetAnchorForPlug(plug)
    public virtual NPointF GetAnchorForPlug( 
       NPlug plug
    )

    Parameters

    plug
    plug for which to obtain anchor

    Return Value

    point to which to anchor the plug
    Remarks
    This implementation returns the port location
    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