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


In This Topic
    SnapControlPoint Method
    In This Topic
    Snaps a shape control point
    Syntax
    'Declaration
     
    
    Public Overridable Function SnapControlPoint( _
       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.SnapControlPoint(point, shape)
    public virtual NSnapPointResult SnapControlPoint( 
       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