Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NPort Class / GlueToShapeLine Method / GlueToShapeLine(Double,Double,Boolean,NAngle) Method
relative location along the shape line (0 is the begin, 1 is the end)
absolute offset along the line from the relatively calculated location
whether to use the orientation of the line or not
offset applied to the calculated direction angle


In This Topic
    GlueToShapeLine(Double,Double,Boolean,NAngle) Method
    In This Topic
    Glues the port location and direction to a relative position along the owner shape line.
    Syntax
    'Declaration
     
    
    Public Overloads Sub GlueToShapeLine( _
       ByVal locationFactor As System.Double, _
       ByVal locationOffset As System.Double, _
       ByVal useLineOrientation As System.Boolean, _
       ByVal angleOffset As NAngle _
    ) 
    'Usage
     
    
    Dim instance As NPort
    Dim locationFactor As System.Double
    Dim locationOffset As System.Double
    Dim useLineOrientation As System.Boolean
    Dim angleOffset As NAngle
     
    instance.GlueToShapeLine(locationFactor, locationOffset, useLineOrientation, angleOffset)
    public void GlueToShapeLine( 
       System.double locationFactor,
       System.double locationOffset,
       System.bool useLineOrientation,
       NAngle angleOffset
    )

    Parameters

    locationFactor
    relative location along the shape line (0 is the begin, 1 is the end)
    locationOffset
    absolute offset along the line from the relatively calculated location
    useLineOrientation
    whether to use the orientation of the line or not
    angleOffset
    offset applied to the calculated direction angle
    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