---
title: "ViewportAlignment Enumeration"
canonical: https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_ViewportAlignment.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# ViewportAlignment Enumeration

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Specifies possible values for alignment of viewport.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```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/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
