Skip to content

PdfMerger.AppendFile Method

Overloads

Name Description
AppendFile(String,String) Appends the given file to the merged file.
AppendFile(Stream,String) Appends the given file to the merged file.
AppendFile(PdfFileEx) Appends the given file to the merged file.

AppendFile(String,String)

Appends the given file to the merged file.

C#
public void AppendFile(string fileName, string password)

Parameters

fileName String

PDF file to append.

password String

Password if the input file is encrypted.

AppendFile(Stream,String)

Appends the given file to the merged file.

C#
public void AppendFile(Stream input, string password)

Parameters

input Stream

PDF file to append.

password String

Password if the input file is encrypted.

AppendFile(PdfFileEx)

Appends the given file to the merged file.

C#
public void AppendFile(PdfFileEx pdfFile)

Parameters

pdfFile PdfFileEx

PDF file to append.

Remarks

After calling this method the 'pdfFile' object is no longer valid