PdfPageGeometry
OfficeIMO.Pdf
Page boundary boxes and page-level presentation metadata read from a PDF page dictionary.
Inheritance
- object
- PdfPageGeometry
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 4 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 4
- Property PdfLogicalPage.Geometry
- Property PdfPageInfo.Geometry
- Property PdfPageLayoutInfo.Geometry
- Method PdfReadPage.GetGeometry
Inherited Methods
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? 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 bool HasEmptyEffectiveBoxIntersection { get; } #True when readable MediaBox and CropBox values do not overlap.
public bool IsCropBoxClamped { get; } #True when the readable CropBox was clamped to the MediaBox.
public double? UserUnit { get; } #Inherited page user-unit scale from /UserUnit, when present and positive.
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 HasTransition { get; } #True when the page has a /Trans transition dictionary.
public int? MetadataObjectNumber { get; } #Object number of page-level /Metadata when it is an indirect reference.
public bool HasPieceInfo { get; } #True when the page has a /PieceInfo dictionary.
public bool HasNonDefaultBoundaryBoxes { get; } #True when at least one non-default boundary box was readable.
public bool HasProductionBoundaryBoxes { get; } #True when TrimBox, BleedBox, or ArtBox information was readable for production workflows.
public bool HasPrintProductionBoxes { get; } #True when both TrimBox and BleedBox are readable, a common print-production preflight pair.