# PdfPageGeometry

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

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfPageGeometry.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L36)

**Modifiers**

sealed

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](/api/pdf/officeimo-pdf-pdflogicalpage/#property-geometry)
- Property [PdfPageInfo.Geometry](/api/pdf/officeimo-pdf-pdfpageinfo/#property-geometry)
- Property [PdfPageLayoutInfo.Geometry](/api/pdf/officeimo-pdf-pdfpagelayoutinfo/#property-geometry)
- Method [PdfReadPage.GetGeometry](/api/pdf/officeimo-pdf-pdfreadpage/#method-getgeometry)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public PdfPageBox? MediaBox { get; }` [#](#property-mediabox)

[PdfPageGeometry.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L36)

Inherited /MediaBox boundary, when readable.

`public PdfPageBox? CropBox { get; }` [#](#property-cropbox)

[PdfPageGeometry.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L39)

Inherited /CropBox boundary, when readable.

`public PdfPageBox? BleedBox { get; }` [#](#property-bleedbox)

[PdfPageGeometry.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L42)

Inherited /BleedBox boundary, when readable.

`public PdfPageBox? TrimBox { get; }` [#](#property-trimbox)

[PdfPageGeometry.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L45)

Inherited /TrimBox boundary, when readable.

`public PdfPageBox? ArtBox { get; }` [#](#property-artbox)

[PdfPageGeometry.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L48)

Inherited /ArtBox boundary, when readable.

`public PdfPageBox? EffectiveBox { get; }` [#](#property-effectivebox)

[PdfPageGeometry.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L58)

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; }` [#](#property-hasemptyeffectiveboxintersection)

[PdfPageGeometry.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L71)

True when readable MediaBox and CropBox values do not overlap.

`public bool IsCropBoxClamped { get; }` [#](#property-iscropboxclamped)

[PdfPageGeometry.cs:74](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L74)

True when the readable CropBox was clamped to the MediaBox.

`public double? UserUnit { get; }` [#](#property-userunit)

[PdfPageGeometry.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L78)

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

`public string? TabOrder { get; }` [#](#property-taborder)

[PdfPageGeometry.cs:81](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L81)

Page tab order from /Tabs, when present.

`public double? DurationSeconds { get; }` [#](#property-durationseconds)

[PdfPageGeometry.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L84)

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

`public PdfPageTransition? Transition { get; }` [#](#property-transition)

[PdfPageGeometry.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L87)

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

`public bool HasTransition { get; }` [#](#property-hastransition)

[PdfPageGeometry.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L90)

True when the page has a /Trans transition dictionary.

`public bool HasMetadata { get; }` [#](#property-hasmetadata)

[PdfPageGeometry.cs:93](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L93)

True when the page has page-level /Metadata.

`public int? MetadataObjectNumber { get; }` [#](#property-metadataobjectnumber)

[PdfPageGeometry.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L96)

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

`public bool HasPieceInfo { get; }` [#](#property-haspieceinfo)

[PdfPageGeometry.cs:99](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L99)

True when the page has a /PieceInfo dictionary.

`public bool HasNonDefaultBoundaryBoxes { get; }` [#](#property-hasnondefaultboundaryboxes)

[PdfPageGeometry.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L102)

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

`public bool HasProductionBoundaryBoxes { get; }` [#](#property-hasproductionboundaryboxes)

[PdfPageGeometry.cs:105](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L105)

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

`public bool HasPrintProductionBoxes { get; }` [#](#property-hasprintproductionboxes)

[PdfPageGeometry.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfPageGeometry.cs#L108)

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

<!-- PowerForge markdown artifact sha256:342126EA76889D7EAEE5843CE19804D00C1BC19D6BDFA6CF0E3279EEE5FE5A33 -->
