Table of Contents

Interface IPdfMerger

Namespace
NuvTools.Report.Pdf
Assembly
NuvTools.Report.dll

Merges multiple PDF documents into a single PDF document.

public interface IPdfMerger

Methods

Merge(IEnumerable<byte[]>)

Merges multiple PDF documents into a single PDF document.

byte[] Merge(IEnumerable<byte[]> pdfs)

Parameters

pdfs IEnumerable<byte[]>

An enumerable collection of PDF documents represented as byte arrays.

Returns

byte[]

A byte array representing the merged PDF document.

Exceptions

ArgumentException

No page to merge: the collection is empty or its documents have no pages. A PDF must have at least one page, so there is no valid empty result to return.