Skip to main content

IPdfPage Interface

Definition

Assembly:Avalonia.Controls.PdfViewer
Package:Avalonia.Controls.PdfViewer

Represents a single PDF page.

public interface IPdfPage

Implements: IDisposable

Methods

NameDescription
GetLinksGets links on this page.

Gets links on this page.

public System.Collections.Generic.IReadOnlyList<Avalonia.Controls.Pdf.Core.PdfLink> GetLinks()

Returns

System.Collections.Generic.IReadOnlyList<Avalonia.Controls.Pdf.Core.PdfLink>

Properties

NameDescription
HeightGets the page height in points.
IndexGets the page index (0-based).
LabelGets the page label (e.g., "i", "ii", "1", "2").
RotationGets the page rotation in degrees (0, 90, 180, 270).
WidthGets the page width in points (1/72 inch).

Height Property

Gets the page height in points.

public double Height { get; set; }

Index Property

Gets the page index (0-based).

public int Index { get; set; }

Label Property

Gets the page label (e.g., "i", "ii", "1", "2").

public string Label { get; set; }

Rotation Property

Gets the page rotation in degrees (0, 90, 180, 270).

public int Rotation { get; set; }

Width Property

Gets the page width in points (1/72 inch).

public double Width { get; set; }