Nevron .NET Vision
Nevron.Diagram Namespace / NShape Class / GetCollapsedPortAnchorForPlug Method
port, which is a member of this group or descendant shape
the plug for which an anchor must be provided


In This Topic
    GetCollapsedPortAnchorForPlug Method
    In This Topic
    Called by collapsed ports to obtain an anchor point for the specified plug. This method is called on the root collapsed shape, by ports which reside in collapsed shapes
    Syntax
    'Declaration
     
    
    Public Overridable Function GetCollapsedPortAnchorForPlug( _
       ByVal port As NPort, _
       ByVal plug As NPlug _
    ) As NPointF
    'Usage
     
    
    Dim instance As NShape
    Dim port As NPort
    Dim plug As NPlug
    Dim value As NPointF
     
    value = instance.GetCollapsedPortAnchorForPlug(port, plug)
    public virtual NPointF GetCollapsedPortAnchorForPlug( 
       NPort port,
       NPlug plug
    )

    Parameters

    port
    port, which is a member of this group or descendant shape
    plug
    the plug for which an anchor must be provided

    Return Value

    plug anchor
    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