Input for WinForms | ComponentOne
C1.Framework.Drawing.Gdi Namespace / Graphics Class / Scroll Method
An int indicates the x offset.
An int indicates the y offset.
A System.Drawing.Rectangle structure that indicates the rectangle to be moved.

In This Topic
    Scroll Method
    In This Topic
    Moves the specified rectangle by offfset values.
    Syntax
    'Declaration
     
    
    Public Sub Scroll( _
       ByVal dx As Integer, _
       ByVal dy As Integer, _
       ByVal rectangle As Rectangle _
    ) 
    public void Scroll( 
       int dx,
       int dy,
       Rectangle rectangle
    )

    Parameters

    dx
    An int indicates the x offset.
    dy
    An int indicates the y offset.
    rectangle
    A System.Drawing.Rectangle structure that indicates the rectangle to be moved.
    Remarks
    [The current implementation is a time consumer, to be re-write.]
    See Also