---
title: "PdfPage"
canonical_url: "https://www.nutrient.io/api/csharp/editors/pdf/pages/pdf-page/"
md_url: "https://www.nutrient.io/api/csharp/editors/pdf/pages/pdf-page.md"
last_updated: "2026-10-08T08:55:57.709Z"
description: "Represents a page in a PDF document with size, positioning, and annotation capabilities."
---

Represents a page in a PDF document with size, positioning, and annotation capabilities. This class provides functionality to manage page dimensions, boxes, rotation, and annotations.

```csharp

using Nutrient;

```

The SDK creates this class through factory methods or other SDK objects.

## Properties

### AnnotationCollection

```csharp

public PdfAnnotationCollection AnnotationCollection { get; }

```

The collection of annotations on this page.

**Type:** [`PdfAnnotationCollection`](/api/csharp/editors/pdf/annotations/pdf-annotation-collection/)

### Height

```csharp

public float Height { get; }

```

The height of the page in points.

**Type:** `float`

### PageNumber

```csharp

public int PageNumber { get; }

```

The 1-based page number of this page in the document.

**Type:** `int`

### Rotation

```csharp

public int Rotation { get; }

```

The rotation of the page in degrees (0, 90, 180, or 270).

**Type:** `int`

### Width

```csharp

public float Width { get; }

```

The width of the page in points.

**Type:** `float`

## Methods

### AutoDeskew

```csharp

public float AutoDeskew()

```

Detects the skew angle of this page and rotates the page content to correct it.

**Returns:** `float` - The rotation applied to the page, in degrees. Zero when no skew was detected and the page was left untouched. Positive values indicate a clockwise correction.

### MakeSearchable

```csharp

public void MakeSearchable()

```

Runs OCR over this page and writes an invisible, searchable text layer on top of the rendered content.

## Resource management

```csharp

public void Dispose()

```

`PdfPage` implements `IDisposable`. Call `Dispose()` or use a C# `using` declaration to release its native handle right away. If you don't, the handle is released when the object is garbage collected.

---

## Related pages

- [Pages](/api/csharp/editors/pdf/pages.md)
- [Pdf Metadata](/api/csharp/editors/pdf/pages/pdf-metadata.md)
- [Pdf Page Collection](/api/csharp/editors/pdf/pages/pdf-page-collection.md)

