---
title: "ViewportAlignment Enumeration"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_ViewportAlignment.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/)

# ViewportAlignment Enumeration
 
Specifies possible values for alignment of viewport.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
Public Enumeration ViewportAlignment
```
 
```csharp
public enum ViewportAlignment
```
 
## Members

|   |  Member name |  Description |
| --- | --- | --- |
 |   |  CenterBottom |  Viewport is positioned in the middle of the bottom side. |
 |   |  CenterCenter |  Viewport is positioned in the center of the viewer. |
 |   |  CenterTop |  Viewport is positioned in the middle of the top side. |
 |   |  LeftBottom |  Viewport is positioned in the left bottom corner. |
 |   |  LeftCenter |  Viewport is positioned in the middle of the left side. |
 |   |  LeftTop |  Viewport is positioned in the left top corner. |
 |   |  RightBottom |  Viewport is positioned in the right bottom corner. |
 |   |  RightCenter |  Viewport is positioned in the middle of the right side. |
 |   |  RightTop |  Viewport is positioned in the right top corner. |
   
## See Also

### Reference

- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
