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

# PaperSize

## Overview

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

This class provides 2 methods for working with PaperSize objects in .NET programs.
Available methods include: `PaperSize`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Height`, `Kind`, `PaperName`, `Width`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `PaperName` | `string` | Read/Write | Gets or sets the paper name. |
| `Width` | `int` | Read/Write | Gets or sets the width. |
| `Height` | `int` | Read/Write | Gets or sets the height. |
| `Kind` | `int` | Read/Write | Gets or sets the kind. |

## Methods

| Signature | Description |
|-----------|-------------|
| `PaperSize()` | Calls PaperSize on this PaperSize instance. |
| `PaperSize(name: string, width: int, height: int)` |  |

## See Also

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