# PdfMergeResult

Merged PDF bytes plus the policy decisions and readback evidence.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Implements**

`IOfficeResult<PdfDocument>` `IOfficeResult`

**Modifiers**

sealed

Merged PDF bytes plus the policy decisions and readback evidence.

## Inheritance

- object
- PdfMergeResult

## 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.

Filter members 

Show inherited

## Methods

`public PdfDocument RequireValue()` [#](#method-requirevalue)

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

Returns the produced value or throws when the operation did not complete.

Returns

`PdfDocument`

`public byte[] ToBytes()` [#](#method-tobytes)

[PdfMergeResult.cs:101](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfMergeResult.cs#L101)

Returns a defensive copy of the merged artifact.

Returns

`byte[]`

`public PdfDocument ToDocument()` [#](#method-todocument)

[PdfMergeResult.cs:103](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfMergeResult.cs#L103)

Opens the merged artifact through the OfficeIMO.Pdf document surface.

Returns

`PdfDocument`

## 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 PdfMergeReport Report { get; }` [#](#property-report)

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

Merge policy report.

`public bool Succeeded { get; }` [#](#property-succeeded)

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

Gets whether the operation completed successfully.

`public PdfDocument Value { get; }` [#](#property-value)

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

Gets the produced value, or null when the operation did not complete.

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