GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / ScrollLine Method
the number of lines to change the X coordinate of the DocPosition; positive increases, negative decreases
the number of lines to change the Y coordinate of the DocPosition; positive increases, negative decreases
In This Topic
    ScrollLine Method
    In This Topic
    Programmatically scroll the view by a "line" (a small change).
    Syntax
    public virtual void ScrollLine( 
       float dx,
       float dy
    )

    Parameters

    dx
    the number of lines to change the X coordinate of the DocPosition; positive increases, negative decreases
    dy
    the number of lines to change the Y coordinate of the DocPosition; positive increases, negative decreases
    Remarks
    This method does not depend on the existence of any scrollbars, but does depend on the value of ScrollSmallChange to determine a new value for DocPosition.
    See Also