GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoToolCreating Class / SnapsToGrid Property
In This Topic
    SnapsToGrid Property
    In This Topic
    Gets or sets whether the result of ComputeBox heeds the view's grid by calling GoView.GoView.SnapPoint.
    Syntax
    public virtual bool SnapsToGrid {get; set;}

    Property Value

    The default value is false.
    Remarks
    When this is true, in order for ComputeBox to snap the GoView.FirstInput.DocPoint and GoView.LastInput.DocPoint, GoView.GoView.GridSnapDrag should be a value other than GoViewSnapStyle.None, or the view's GoView.Grid's GoGrid.CanSnapPoint predicate should return true.
    See Also