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

# PageInfo

## Overview

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

Container for page dimension and margin properties.

This class provides 2 methods for working with PageInfo objects in .NET programs.
Available methods include: `Clone`, `PageInfo`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `AnyMargin`, `DefaultTextState`, `Height`, `IsLandscape`, `Margin`, `PureHeight`, and 1 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Width` | `double` | Read/Write | Page width in points. |
| `Height` | `double` | Read/Write | Page height in points. |
| `IsLandscape` | `bool` | Read/Write | Whether the page is in landscape orientation. |
| `Margin` | `MarginInfo` | Read/Write | Page margins. |
| `AnyMargin` | `MarginInfo` | Read/Write | Whichever margin is currently active for layout passes; alias for Margin. |
| `DefaultTextState` | `Aspose.Pdf.Text.TextState?` | Read/Write | Default text state applied to content laid out via this PageInfo. |
| `PureHeight` | `double` | Read | Page height minus top+bottom margins. |

## Methods

| Signature | Description |
|-----------|-------------|
| `PageInfo()` | Create a free-standing PageInfo (not bound to any page). |
| `Clone()` | Shallow clone — Margin is shared by reference. |

## See Also

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