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

## MailPrinter.DpiY property

Gets or sets the vertical DPI.

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

### Property Value

The vertical 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](../../../)


