.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfDocumentProcessor.SaveDocument Method

Name Parameters Description
SaveDocument(Stream) stream Saves the current document to the specified file stream.
SaveDocument(Stream, PdfSaveOptions) stream, options Saves the current PDF document to the specified stream with encryption settings and document signature.
SaveDocument(Stream, PdfSaveOptions, Boolean) stream, options, detachStream Saves the current PDF document to the specified stream with encryption settings and document signature using detach stream mode.
SaveDocument(Stream, Boolean) stream, detachStream Saves the current PDF document to the specified stream using the detach stream mode.
SaveDocument(String) path Saves the current document to the specified file path.
SaveDocument(String, PdfSaveOptions) path, options Saves the current PDF document to the specified file path with encryption and sign settings.
SaveDocument(String, PdfSaveOptions, Boolean) path, options, detachStream Saves the current PDF document to the specified file with encryption settings and document signature using the detach stream mode.
SaveDocument(String, Boolean) path, detachStream Saves the current PDF document to the specified file using the detach stream mode.