# PdfPageResizeOptions

Configures page size normalization for existing PDF pages.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfPageResizeOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfPageResizeOptions.cs#L11)

**Implements**

`IPdfOperationCancellation`

**Modifiers**

sealed

Configures page size normalization for existing PDF pages.

## Inheritance

- object
- PdfPageResizeOptions

## Usage

Explore 2 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 1

- Property [PdfMergeOptions.ResizePages](/api/pdf/officeimo-pdf-pdfmergeoptions/#property-resizepages)

### Accepted by parameters 1

- Method [PdfDocumentPages.Resize](/api/pdf/officeimo-pdf-pdfdocumentpages/#method-resize-officeimo-pdf-pdfpageresizeoptions-officeimo-pdf-pdfpageselection-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public PdfPageResizeOptions(PdfPageSize pageSize)` [#](#constructor-ctor-officeimo-pdf-pdfpagesize)

[PdfPageResizeOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfPageResizeOptions.cs#L11)

Creates resize options for the supplied target page size.

Parameters

**pageSize OfficeIMO.Pdf.PdfPageSize required**

Target page size in PDF points.

## 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 PdfPageSize PageSize { get; set; }` [#](#property-pagesize)

[PdfPageResizeOptions.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfPageResizeOptions.cs#L25)

Target page size in PDF points.

`public OfficeLength Margin { get; set; }` [#](#property-margin)

[PdfPageResizeOptions.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfPageResizeOptions.cs#L28)

Margin in PDF points kept around fitted content.

`public PdfPageResizeMode Mode { get; set; }` [#](#property-mode)

[PdfPageResizeOptions.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfPageResizeOptions.cs#L31)

Scaling behavior used for the original page content.

<!-- PowerForge markdown artifact sha256:7BBBF749962940248F1CF713767F8E1212F92E5ECBA75C421AB59D77C5FFC280 -->
