Click or drag to resize

PdfDocumentSave Method

Save all the changes made to the current PDF document to the same location from where the PDF document was loaded or last saved.

This feature is also called incremental update.

Use SaveOptions to specify options used for saving the PdfDocument to a PDF file.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1002
Syntax
public void Save()
Exceptions
ExceptionCondition
InvalidOperationExceptionPdfDocument is not associated with any PDF file and therefore its changes cannot be saved or the associated PDF file was loaded in a read-only mode. Use Save Overload with String or Stream parameters instead to save the entire PdfDocument to a new PDF file.
See Also