---
title: "MultiLayerViewer..::.Scroll Method (Boolean, ScrollValue)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_Scroll_2_1c1a339b.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/)

# MultiLayerViewer.Scroll Method (Boolean, ScrollValue)
 
Moves one of the scroll bars to the specified position.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
 
## Syntax
  
```
Public Overrides Sub Scroll ( _scrollVertically As Boolean, _scrollValue As ScrollValue _
)
```
 
```csharp
public override void Scroll(bool scrollVertically,ScrollValue scrollValue
)
```
 
### Parameters
 
 - scrollVertically
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
A value indicating which scroll bar should be moved. If **true**, the vertical scroll bar will change its position; otherwise, the horizontal scroll bar will move.

 - scrollValue
     - Type: [Aurigma.GraphicsMill.WinControls.ScrollValue](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ScrollValue.htm.md)
A [ScrollValue](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_ScrollValue.htm.md) enumeration member defining a position to which the scroll bar should be moved.
   
## See Also

### Reference

- [MultiLayerViewer Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_MultiLayerViewer.htm.md)
- [Scroll Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_MultiLayerViewer_Scroll.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
