Skip to content

PdfPortfolio.Save Method

Overloads

Name Description
Save(Stream,PdfSecurityHandler,Boolean) Saves this portfolio to the specified stream.
Save(String) Saves the Pdf document to a file.
(inherited from PdfDocument)
Save(String,PdfSecurityHandler) Saves the Pdf document to a file.
(inherited from PdfDocument)
Save(String,Boolean) Saves the Pdf document to a file.
(inherited from PdfDocument)
Save(String,PdfSecurityHandler,Boolean) Saves the Pdf document to a file.
(inherited from PdfDocument)
Save(Stream) Saves the Pdf document to the specified stream.
(inherited from PdfDocument)
Save(Stream,PdfSecurityHandler) Saves the Pdf document to the specified stream.
(inherited from PdfDocument)
Save(Stream,Boolean) Saves the Pdf document to the specified stream.
(inherited from PdfDocument)

Save(Stream,PdfSecurityHandler,Boolean)

Saves this portfolio to the specified stream.

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

Parameters

stream Stream

The Stream where the portfolio will be saved.

securityHandler PdfSecurityHandler

Security handler for encrypting the saved portfolio.

enableObjectCompression Boolean

When set to true, the structure of the PDF objects is also compressed. Supported when PDF version >= 1.5