---
title: "ViewerBase..::.Scroll Method (Int32, Int32)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_ViewerBase_Scroll_2_22dcb54d.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# ViewerBase.Scroll Method (Int32, Int32)
 
Moves scroll bars by the specified values.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Public MustOverride Sub Scroll ( _horizontalDelta As Integer, _verticalDelta As Integer _
)
```
 
```csharp
public abstract void Scroll(int horizontalDelta,int verticalDelta
)
```
 
### Parameters
 
 - horizontalDelta
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Shift of the horizontal scroll bar.

 - verticalDelta
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Shift of the vertical scroll bar.
   
## See Also

### Reference

- [ViewerBase Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ViewerBase.htm.md)
- [Scroll Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_ViewerBase_Scroll.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
