Nevron Open Vision Documentation
Nevron.Nov.Diagram.Shapes Namespace / NShapeFactory Class / CreateRelativePorts Method


In This Topic
    CreateRelativePorts Method
    In This Topic
    Creates ports with the specified relative locations.
    Syntax
    'Declaration
     
    
    Protected Sub CreateRelativePorts( _
       ByVal shape As NShape, _
       ByVal relativeLocations() As NPoint _
    ) 
    'Usage
     
    
    Dim instance As NShapeFactory
    Dim shape As NShape
    Dim relativeLocations() As NPoint
     
    instance.CreateRelativePorts(shape, relativeLocations)
    protected void CreateRelativePorts( 
       NShape shape,
       NPoint[] relativeLocations
    )

    Parameters

    shape
    relativeLocations
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also