This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/editors/pdf/pages/pdf-page.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. PdfPage

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.

using Nutrient;

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

Properties

AnnotationCollection

public PdfAnnotationCollection AnnotationCollection { get; }

The collection of annotations on this page.

Type: PdfAnnotationCollection

Height

public float Height { get; }

The height of the page in points.

Type: float

PageNumber

public int PageNumber { get; }

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

Type: int

Rotation

public int Rotation { get; }

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

Type: int

Width

public float Width { get; }

The width of the page in points.

Type: float

Methods

AutoDeskew

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

public void MakeSearchable()

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

Resource management

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.