---
title: "BaseViewer..::.screenXDpi Property "
canonical: https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_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 a value representing horizontal resolution in DPI used to show content in the browser.
 
**Namespace:** [GraphicsMill](https://www.graphicsmill.com/docs/gmwc/N_J_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
function get_screenXDpi();
```
 
### 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_J_GraphicsMill_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.
 
This property corresponds to [BaseViewer.ScreenXDpi](https://www.graphicsmill.com/docs/gmwc/P_Aurigma_GraphicsMill_AjaxControls_BaseViewer_ScreenXDpi.htm.md) server-side member.
   
## See Also

### Reference

- [BaseViewer Class](https://www.graphicsmill.com/docs/gmwc/T_J_GraphicsMill_BaseViewer.htm.md)
- [GraphicsMill Namespace](https://www.graphicsmill.com/docs/gmwc/N_J_GraphicsMill.htm.md)
- [BaseViewer..screenYDpi](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_BaseViewer_screenYDpi.htm.md)
- [BitmapViewer..scaleToActualSize](https://www.graphicsmill.com/docs/gmwc/P_J_GraphicsMill_BitmapViewer_scaleToActualSize.htm.md)
