Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPageInfo

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Basic geometry and identity information for a page in a PDF document.

Inheritance

  • object
  • PdfPageInfo

Remarks

Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Properties

public int PageNumber { get; } #

One-based page number in document order.

public double Width { get; } #

Page width in page user-space units.

public double Height { get; } #

Page height in page user-space units.

public int RotationDegrees { get; } #

Inherited page rotation in degrees.

public PdfPageGeometry Geometry { get; } #

Page boundary boxes and page-level presentation metadata.

public PdfPageBox? MediaBox { get; } #

Inherited /MediaBox boundary, when readable.

public PdfPageBox? CropBox { get; } #

Inherited /CropBox boundary, when readable.

public PdfPageBox? BleedBox { get; } #

Inherited /BleedBox boundary, when readable.

public PdfPageBox? TrimBox { get; } #

Inherited /TrimBox boundary, when readable.

public PdfPageBox? ArtBox { get; } #

Inherited /ArtBox boundary, when readable.

public double? UserUnit { get; } #

Inherited page user-unit scale from /UserUnit, when present and positive.

public string? TabOrder { get; } #

Page tab order from /Tabs, when present.

public double? DurationSeconds { get; } #

Page display duration from /Dur, in seconds, when present.

public PdfPageTransition? Transition { get; } #

Page transition dictionary from /Trans, when present and readable.

public bool HasPageMetadata { get; } #

True when page-level /Metadata was present.

public bool HasPieceInfo { get; } #

True when page-level /PieceInfo was present.

public IReadOnlyList<PdfLinkAnnotation> LinkAnnotations { get; } #

Simple URI, named-destination, direct-destination, named-action, and remote GoTo link annotations on this page.

public IReadOnlyList<PdfFormWidget> FormWidgets { get; } #

Simple AcroForm widget annotations on this page.

public IReadOnlyList<PdfAnnotation> Annotations { get; } #

Generic annotation metadata on this page.

public IReadOnlyList<PdfPageAction> PageActions { get; } #

Page-level additional actions from the page dictionary /AA entry.

public int PageActionCount { get; } #

Number of page-level additional actions read on this page.

public bool HasPageActions { get; } #

True when at least one page-level additional action was read on this page.

public bool HasAnnotations { get; } #

True when at least one generic annotation was read on this page.

public bool HasFormWidgets { get; } #

True when at least one simple AcroForm widget annotation was read on this page.

public PdfPageSize Size { get; } #

Physical page size after /UserUnit scaling, before rotation.

public bool IsLandscape { get; } #

True when the page is wider than it is tall.