---
title: "MailPrinter.DpiX"
url: "https://reference.aspose.com/email/net/aspose.email.printing/mailprinter/dpix/"
product: "Aspose.Email for .NET API Reference"
description: "MailPrinter property. Gets or sets the horizontal DPI"
---

## MailPrinter.DpiX property

Gets or sets the horizontal DPI.

```csharp
public double DpiX { get; set; }
```

### Property Value

The horizontal DPI.

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentException | If value is less or equal to zero. |

## Remarks

Default value is 96.

### See Also

* class [MailPrinter](../)
* namespace [Aspose.Email.Printing](../../mailprinter/)
* assembly [Aspose.Email](../../../)


