Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NSnapAndGlue Class / SnapPointToPoint Method


In This Topic
    SnapPointToPoint Method
    In This Topic
    Tries to snap a point to a point (in drawing coordinates).
    Syntax
    'Declaration
     
    
    Public Overridable Function SnapPointToPoint( _
       ByVal point As NPoint, _
       ByVal pointToSnapTo As NPoint _
    ) As NSnapPointResult
    'Usage
     
    
    Dim instance As NSnapAndGlue
    Dim point As NPoint
    Dim pointToSnapTo As NPoint
    Dim value As NSnapPointResult
     
    value = instance.SnapPointToPoint(point, pointToSnapTo)
    public virtual NSnapPointResult SnapPointToPoint( 
       NPoint point,
       NPoint pointToSnapTo
    )

    Parameters

    point
    pointToSnapTo
    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