API Reference

Class

PdfPageGeometry

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Page boundary boxes and page-level presentation metadata read from a PDF page dictionary.

Inheritance

  • Object
  • PdfPageGeometry

Usage

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

Properties

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 PdfPageBox EffectiveBox { get; } #

Effective page box used by OfficeIMO.Pdf for page size and coordinates. When both boxes are readable, this is the intersection of CropBox and MediaBox as required by the PDF page model. A null result with readable boxes means their intersection is empty and geometry consumers must fail closed instead of using out-of-page coordinates.

public Boolean HasEmptyEffectiveBoxIntersection { get; } #

True when readable MediaBox and CropBox values do not overlap.

public Boolean IsCropBoxClamped { get; } #

True when the readable CropBox was clamped to the MediaBox.

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 HasTransition { get; } #

True when the page has a /Trans transition dictionary.

public Boolean HasMetadata { get; } #

True when the page has page-level /Metadata.

public Nullable<Int32> MetadataObjectNumber { get; } #

Object number of page-level /Metadata when it is an indirect reference.

public Boolean HasPieceInfo { get; } #

True when the page has a /PieceInfo dictionary.

public Boolean HasNonDefaultBoundaryBoxes { get; } #

True when at least one non-default boundary box was readable.

public Boolean HasProductionBoundaryBoxes { get; } #

True when TrimBox, BleedBox, or ArtBox information was readable for production workflows.

public Boolean HasPrintProductionBoxes { get; } #

True when both TrimBox and BleedBox are readable, a common print-production preflight pair.