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

## MailPrinter.PageWidth property

Gets or sets the width of the page.

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

### Property Value

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


