Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NSnapManager Class / SnapShapeControlPoint Method
point to snap
shape whose ports and geometry points are excluded from the snap


In This Topic
    SnapShapeControlPoint Method
    In This Topic
    Snaps a shape control point
    Syntax
    'Declaration
     
    
    Public Overridable Function SnapShapeControlPoint( _
       ByVal point As NPointF, _
       ByVal shape As NShape _
    ) As NSnapPointResult
    'Usage
     
    
    Dim instance As NSnapManager
    Dim point As NPointF
    Dim shape As NShape
    Dim value As NSnapPointResult
     
    value = instance.SnapShapeControlPoint(point, shape)
    public virtual NSnapPointResult SnapShapeControlPoint( 
       NPointF point,
       NShape shape
    )

    Parameters

    point
    point to snap
    shape
    shape whose ports and geometry points are excluded from the snap

    Return Value

    snap point result
    Remarks
    This method can snap the point to Ports, Geometry Points, Guidelines, Grid and Rulers. The targets are controlled by the intersected SnapTo and SnapShapeControlPointsTo settings.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also