---
title: "BitmapViewer..::.Unit Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_BitmapViewer_Unit.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.Unit Property 
 
Gets/sets a physical unit of measure for the viewer.
 
**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 Unit As Unit
```
 
```csharp
[BrowsableAttribute(true)]
public override Unit Unit { get; set; }
```
 
### Property Value
A physical unit of measure.
 
### Implements
 
[IUnitConverter.Unit](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_IUnitConverter_Unit.htm.md)
 
## Remarks
  
[WorkspaceWidth](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_BitmapViewer_WorkspaceWidth.htm.md) and [WorkspaceHeight](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_BitmapViewer_WorkspaceHeight.htm.md) are measured in this units. During the conversion between this units and pixels, the screen resolution is used (usually, it is 96 DPI).
   
## 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)
- [BitmapViewer.WorkspaceWidth](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_BitmapViewer_WorkspaceWidth.htm.md)
- [BitmapViewer.WorkspaceHeight](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_BitmapViewer_WorkspaceHeight.htm.md)
