GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoGrid Class / SnapPoint Method
a PointF in document coordinates
the object being moved or resized (may be null/nothing)
the GoView in which the snapping is occuring; may be null/nothing
In This Topic
    SnapPoint Method (GoGrid)
    In This Topic
    This method is called by GoView.GoView.SnapPoint to find the point to which an object should be moved or resized.
    Syntax
    public virtual PointF SnapPoint( 
       PointF p,
       GoObject obj,
       GoView view
    )

    Parameters

    p
    a PointF in document coordinates
    obj
    the object being moved or resized (may be null/nothing)
    view
    the GoView in which the snapping is occuring; may be null/nothing

    Return Value

    by default, just the result of calling GoGrid.FindNearestGridPoint
    See Also