---
title: "BaseViewer..::.ScreenXDpi Property "
canonical: https://www.graphicsmill.com/docs/gmwc/P_Aurigma_GraphicsMill_AjaxControls_BaseViewer_ScreenXDpi.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/).

# BaseViewer.ScreenXDpi Property 

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Gets/sets a value representing horizontal resolution in DPI used to show content in the browser.
 
**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 virtual float ScreenXDpi { get; set; }
```
 
### Property Value
The value representing horizontal resolution in DPI used to show content in the browser.
 
## Remarks
  
If the [ScaleToActualSize](https://www.graphicsmill.com/docs/gmwc/P_Aurigma_GraphicsMill_AjaxControls_BitmapViewer_ScaleToActualSize.htm.md) property is set to **true** the value of the ScreenXDpi property is used to scale content width to its actual size.
 
Default value is 72.
   
## See Also

### Reference

- [BaseViewer Class](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_BaseViewer.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
- [BaseViewer..ScreenYDpi](https://www.graphicsmill.com/docs/gmwc/P_Aurigma_GraphicsMill_AjaxControls_BaseViewer_ScreenYDpi.htm.md)
- [BitmapViewer..ScaleToActualSize](https://www.graphicsmill.com/docs/gmwc/P_Aurigma_GraphicsMill_AjaxControls_BitmapViewer_ScaleToActualSize.htm.md)
