Save a Document
To save a PDF document to path use CPDFDocument.WriteToLoadedPath()
, the PDF document will be saved incrementally. Use this method if you are concerned about saving time. If you use this method, any changes to the document, even deleting annotations, will result in appending to the PDF file. However, even though this is the fastest way of saving a document, it does come with the cost of incrementing the file size with each save.
To save as a PDF document to path use CPDFDocument.WriteToFilePath(string filePath)
, the PDF document will be saved non-incremental. If you use this method, will rewrite the entire document instead of appending changes at the end.