# PdfPageRectangle

Immutable rectangle in PDF default user-space coordinates measured from the page bottom-left.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[PdfPageRectangle.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfPageRectangle.cs#L7)

**Modifiers**

sealed

Immutable rectangle in PDF default user-space coordinates measured from the page bottom-left.

## Inheritance

- object
- PdfPageRectangle

## 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 5 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 [PdfImpositionPlacement.Cell](/api/pdf/officeimo-pdf-pdfimpositionplacement/#property-cell)
- Method [PdfLogicalPage.MapVisualRectangleToUserSpace](/api/pdf/officeimo-pdf-pdflogicalpage/#method-mapvisualrectangletouserspace-double-double-double-double)
- Method [PdfPageLayoutInfo.MapVisualRectangleToUserSpace](/api/pdf/officeimo-pdf-pdfpagelayoutinfo/#method-mapvisualrectangletouserspace-double-double-double-double)
- Property [PdfStaticFormFieldProposal.Rectangle](/api/pdf/officeimo-pdf-pdfstaticformfieldproposal/#property-rectangle)

### Accepted by parameters 1

- Method [PdfDocumentAnnotations.Resize](/api/pdf/officeimo-pdf-pdfdocumentannotations/#method-resize-int32-officeimo-pdf-pdfpagerectangle) parameter `rectangle`

Filter members 

Show inherited

## Constructors

`public PdfPageRectangle(double left, double bottom, double right, double top)` [#](#constructor-ctor-double-double-double-double)

[PdfPageRectangle.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfPageRectangle.cs#L7)

Creates a normalized PDF page rectangle.

Parameters

**left double required**

**bottom double required**

**right double required**

**top double required**

## 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 double Left { get; }` [#](#property-left)

[PdfPageRectangle.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfPageRectangle.cs#L20)

Left edge in PDF default user-space units.

`public double Bottom { get; }` [#](#property-bottom)

[PdfPageRectangle.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfPageRectangle.cs#L23)

Bottom edge in PDF default user-space units.

`public double Right { get; }` [#](#property-right)

[PdfPageRectangle.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfPageRectangle.cs#L26)

Right edge in PDF default user-space units.

`public double Top { get; }` [#](#property-top)

[PdfPageRectangle.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfPageRectangle.cs#L29)

Top edge in PDF default user-space units.

`public double Width { get; }` [#](#property-width)

[PdfPageRectangle.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfPageRectangle.cs#L32)

Rectangle width in PDF default user-space units.

`public double Height { get; }` [#](#property-height)

[PdfPageRectangle.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfPageRectangle.cs#L35)

Rectangle height in PDF default user-space units.

<!-- PowerForge markdown artifact sha256:545C3B14BB26D05965EFDA506DA3D9A2DA85A8601003B9DD6FA211198FA0C752 -->
