---
title: "BitmapViewer..::.ViewportAlignment Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_BitmapViewer_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/)

# BitmapViewer.ViewportAlignment Property 
 
Gets/sets a value that specifies bitmap alignment in the control.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
<BrowsableAttribute(True)> _
Public Overrides Property ViewportAlignment As ViewportAlignment
```
 
```csharp
[BrowsableAttribute(true)]
public override ViewportAlignment ViewportAlignment { get; set; }
```
 
### Property Value
A value that specifies bitmap alignment in the control.
   
## See Also

### Reference

- [BitmapViewer Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_BitmapViewer.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
