Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NSnapAndGlue Class / SnapEndPoint Method
point to snap (in drawing coordinates)
shape to which the end point belongs


In This Topic
    SnapEndPoint Method
    In This Topic
    Snaps the end point of the specified shape, to the ports, geometries, shapes, guides, grids and rulers of the active page.
    Syntax
    'Declaration
     
    
    Public Overridable Function SnapEndPoint( _
       ByVal point As NPoint, _
       ByVal shape As NShape _
    ) As NSnapPointResult
    'Usage
     
    
    Dim instance As NSnapAndGlue
    Dim point As NPoint
    Dim shape As NShape
    Dim value As NSnapPointResult
     
    value = instance.SnapEndPoint(point, shape)
    public virtual NSnapPointResult SnapEndPoint( 
       NPoint point,
       NShape shape
    )

    Parameters

    point
    point to snap (in drawing coordinates)
    shape
    shape to which the end point belongs
    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