Skip to content

PdfMerger.Save Method

Overloads

Name Description
Save(String,PdfSecurityHandler,Boolean) Saves the merged file to given file.
Save(Stream,PdfSecurityHandler,Boolean) Saves the merged file to given stream.

Save(String,PdfSecurityHandler,Boolean)

Saves the merged file to given file.

C#
public void Save(string fileName, PdfSecurityHandler securityHandler, bool enableObjectCompression)

Parameters

fileName String

Path to file where to save the merged file.

securityHandler PdfSecurityHandler

Security handler for encrypting the merged file.

enableObjectCompression Boolean

True if the merged file should compress the PDF file structure.

Save(Stream,PdfSecurityHandler,Boolean)

Saves the merged file to given stream.

C#
public void Save(Stream output, PdfSecurityHandler securityHandler, bool enableObjectCompression)

Parameters

output Stream

Stream where the merged file will be saved.

securityHandler PdfSecurityHandler

Security handler for encrypting the merged file.

enableObjectCompression Boolean

True if the merged file should compress the PDF file structure.