The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

PdfDocumentProcessor.SaveDocument Method

Name Parameters Description
SaveDocument(Stream) stream

Saves the current document to the specified file stream.

SaveDocument(Stream, Boolean) stream, detachStream

Saves the current PDF document to the specified stream using the detach stream mode.

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(String) path

Saves the current document to the specified file path.

SaveDocument(String, Boolean) path, detachStream

Saves the current PDF document to the specified file using the detach stream mode.

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.