Skip to content

PdfFileEx.Save Method

Overloads

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

Save(String,PdfSecurityHandler,Boolean)

Saves the PDF file to disk.

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

Parameters

fileName String

Path where the PDF 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.

Save(Stream,PdfSecurityHandler,Boolean)

Saves the PDF file to given stream.

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

Parameters

output Stream

Stream where the PDF 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.