Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NSnapManager Class / SnapPoint Method / SnapPoint(SnappedPointType,NPointF,NShape,Boolean,Boolean,SnapTargetsMask) Method
point to snap
shape whose ports and geometry points to exclude
whether inward ports should be ignored
whether outward ports should be ignored
objects to which to snap


In This Topic
    SnapPoint(SnappedPointType,NPointF,NShape,Boolean,Boolean,SnapTargetsMask) Method
    In This Topic
    Snaps the point to ports, geometry points, guidelines, grid and rulers
    Syntax
    'Declaration
     
    
    Protected Overloads Overridable Function SnapPoint( _
       ByVal pointType As SnappedPointType, _
       ByVal point As NPointF, _
       ByVal shape As NShape, _
       ByVal skipInward As System.Boolean, _
       ByVal skipOutward As System.Boolean, _
       ByVal snapTo As SnapTargetsMask _
    ) As NSnapPointResult
    'Usage
     
    
    Dim instance As NSnapManager
    Dim pointType As SnappedPointType
    Dim point As NPointF
    Dim shape As NShape
    Dim skipInward As System.Boolean
    Dim skipOutward As System.Boolean
    Dim snapTo As SnapTargetsMask
    Dim value As NSnapPointResult
     
    value = instance.SnapPoint(pointType, point, shape, skipInward, skipOutward, snapTo)
    protected virtual NSnapPointResult SnapPoint( 
       SnappedPointType pointType,
       NPointF point,
       NShape shape,
       System.bool skipInward,
       System.bool skipOutward,
       SnapTargetsMask snapTo
    )

    Parameters

    pointType
    point
    point to snap
    shape
    shape whose ports and geometry points to exclude
    skipInward
    whether inward ports should be ignored
    skipOutward
    whether outward ports should be ignored
    snapTo
    objects to which to snap

    Return Value

    snap point result
    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