---
title: "BitmapViewer..::.ZoomMode Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WebControls_BitmapViewer_ZoomMode.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/)

# BitmapViewer.ZoomMode Property 
 
Gets/sets the zooming behavior of the control (automatic or manual).
 
**Namespace:** [Aurigma.GraphicsMill.WebControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WebControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WebControls (in Aurigma.GraphicsMill.WebControls.dll)
 
## Syntax
  
```
<BrowsableAttribute(True)> _
Public Property ZoomMode As ZoomMode
```
 
```csharp
[BrowsableAttribute(true)]
public ZoomMode ZoomMode { get; set; }
```
 
### Property Value
The [ZoomMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WebControls_ZoomMode.htm.md) enumeration member that specifies the zooming behavior.
 
## Remarks
  
In manual zoom mode (i.e. of this property value is [None](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WebControls_ZoomMode.htm.md)) user can change the bitmap zoom either by [Zoom](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WebControls_BitmapViewer_Zoom.htm.md) property or using some zooming [navigator](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WebControls_BitmapViewer_Navigator.htm.md).
 
When the control is in one of automatic modes ([BestFit](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WebControls_ZoomMode.htm.md), [FitToWidth](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WebControls_ZoomMode.htm.md), etc), you cannot change zoom manually (modifying [Zoom](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WebControls_BitmapViewer_Zoom.htm.md) will be ignored). That's why you need change this property to [None](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WebControls_ZoomMode.htm.md).
 
Note, when you set some zooming navigator into the [Navigator](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WebControls_BitmapViewer_Navigator.htm.md) property, this property is reset to [None](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WebControls_ZoomMode.htm.md).
   
## See Also

### Reference

- [BitmapViewer Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WebControls_BitmapViewer.htm.md)
- [Aurigma.GraphicsMill.WebControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WebControls.htm.md)
