---
title: "BaseViewer..::.zoom Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_zoom.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/)

# BaseViewer.zoom Property 
 
Gets/sets the current zoom value.
 
**Namespace:** [GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function get_zoom();
function set_zoom(value);
```
 
### Property Value
The number that specifies the current zoom value.
 
## Remarks
  
Zoom values are measured in percents/100. It means that value = 1 specifies 100% zoom (i.e. actual size), value = 10 means 1000% zoom (10x), value = 0.5 means 50% zoom (half), etc.
 
**Note** 
If automatic zoom mode is used (i.e. [zoomMode](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_zoomMode.htm.md) property is not [none](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_ZoomMode.htm.md)) the value of this property will be ignored.
 
Default value is 1.
 
This property corresponds to [BaseViewer.Zoom](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_AjaxControls_BaseViewer_Zoom.htm.md) server-side member.
   
## See Also

### Reference

- [BaseViewer Class](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_BaseViewer.htm.md)
- [GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
- [BaseViewer.zoomMode](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_zoomMode.htm.md)
