# PdfMergeOptions

Configures optional behavior for first-party PDF merge operations.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Modifiers**

sealed

Configures optional behavior for first-party PDF merge operations.

## Inheritance

- object
- PdfMergeOptions

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Merge PDF files locally](/pdf/merge/) Guide
  
  Merge two to ten PDF files in your selected order, keep the source files unchanged, and download a separate PDF with page and policy evidence.

## Usage

Explore 3 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 [PdfInterleaveOptions.MergeOptions](/api/pdf/officeimo-pdf-pdfinterleaveoptions/#property-mergeoptions)

### Accepted by parameters 2

- Method [PdfDocument.Merge](/api/pdf/officeimo-pdf-pdfdocument/#method-merge-collections-generic-ienumerable-officeimo-pdf-pdfdocument-officeimo-pdf-pdfmergeoptions-threading-cancellationtoken) parameter `options`
- Method [PdfDocument.MergeWith](/api/pdf/officeimo-pdf-pdfdocument/#method-mergewith-officeimo-pdf-pdfdocument-officeimo-pdf-pdfmergeoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public PdfMergeOptions()` [#](#constructor-ctor)

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

## 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 PdfMergePolicy Policy { get; set; }` [#](#property-policy)

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

Gets or sets the catalog-structure policy used by the merge. The default preserves the historical behavior where the first source owns document-level structures.

`public bool FlattenVisualAnnotations { get; set; }` [#](#property-flattenvisualannotations)

[PdfMergeOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfMergeOptions.cs#L17)

Gets or sets whether supported visual annotations should be painted into page content before pages are merged. Link annotations, form fields, and unsupported annotation shapes remain unchanged unless another OfficeIMO.Pdf operation handles them.

`public PdfPageResizeOptions? ResizePages { get; set; }` [#](#property-resizepages)

[PdfMergeOptions.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfMergeOptions.cs#L23)

Gets or sets page resize options applied to each input PDF before pages are merged. Use this to normalize mixed source page sizes into a fixed output paper size.

<!-- PowerForge markdown artifact sha256:AE9AA608DE1AF6709FE243A22285EA5752F97700E159228C741E25124BB00DB4 -->
