API Reference

Class

PdfPageInfo

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

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

Inheritance

  • Object
  • PdfPageInfo

Usage

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

Properties

public Int32 PageNumber { get; } #

One-based page number in document order.

public Double Width { get; } #

Page width in PDF points.

public Double Height { get; } #

Page height in PDF points.

public Int32 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 Nullable<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 Nullable<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 Boolean HasPageMetadata { get; } #

True when page-level /Metadata was present.

public Boolean 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 Int32 PageActionCount { get; } #

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

public Boolean HasPageActions { get; } #

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

public Boolean HasAnnotations { get; } #

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

public Boolean HasFormWidgets { get; } #

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

public PageSize Size { get; } #

Page size in PDF points.

public Boolean IsLandscape { get; } #

True when the page is wider than it is tall.