---
title: "MailPrinter.PageHeight"
url: "https://reference.aspose.com/email/net/aspose.email.printing/mailprinter/pageheight/"
product: "Aspose.Email for .NET API Reference"
description: "MailPrinter property. Gets or sets the height of the page"
---

## MailPrinter.PageHeight property

Gets or sets the height of the page.

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

### Property Value

The height of the page.

### Exceptions

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

### See Also

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


