---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/PageSettings
---

# PageSettings

## Overview

`PageSettings` is a class in Aspose.PDF FOSS for .NET.

Per-page print settings (paper size / orientation / margins).

This class provides 1 method for working with PageSettings objects in .NET programs.
Available methods include: `PageSettings`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Color`, `Landscape`, `Margins`, `PaperSize`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `PaperSize` | `PaperSize` | Read/Write | Gets or sets the paper size. |
| `Landscape` | `bool` | Read/Write | Gets or sets the landscape. |
| `Margins` | `string` | Read/Write | Gets or sets the margins. |
| `Color` | `string` | Read/Write | Gets or sets the color. |

## Methods

| Signature | Description |
|-----------|-------------|
| `PageSettings()` | Calls PageSettings on this PageSettings instance. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)