GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / ComputeAutoScrollDocPosition Method
The mouse point, in view coordinates.
In This Topic
    ComputeAutoScrollDocPosition Method
    In This Topic
    This method is called to determine the next position in the document for this view, given a point at which the user is dragging the mouse.
    Syntax
    public virtual PointF ComputeAutoScrollDocPosition( 
       Point viewPnt
    )

    Parameters

    viewPnt
    The mouse point, in view coordinates.
    Remarks
    This uses the AutoScrollRegion and ScrollSmallChange properties to calculate a new DocPosition. The closer the point is to the edge of the view, the larger a multiple of the ScrollSmallChange is used as a scroll step in that direction.
    See Also