Free Support Forum - aspose.com

Save Word document to PDF without Track Changes

Hi,

When DOC file saved to PDF using Aspose.Words.4.0.0.Beta all changes (old and new content) saved to PDF. Is it possible to save only the last content (without track changes)?

And a small question about PDF version. Now all PDF files generated by Asspose.Words have version PDF 1.5. Is is possible to configure this version (e.g. to set PDF 1.4)?

Best regards, Evgeniy

Hi Evgeniy,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request.

1. You can just accept all revisions in your document before converting it to PDF. Please see the following code:

// Open document.

Document doc = new Document("C:\\Temp\\in.doc");

// Accept all changes.

doc.acceptAllRevisions();

// Save document to PDF.

doc.saveToPdf("C:\\Temp\\out.pdf");

2. No, there is no way to change version of PDF.

Best regards.

Hi Alexey,

Thank you, this helped.

Another question: Do you have Bug Tracking Tool in free access to see a roadmap and full list of all open/closed issues of the product(s)?

Best regards, Evgeniy

Hi Evgeniy,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. The Bug Tracking System is for internal use only. So if you have any problems with Aspose.Words, please post in the forum and we will provide you more information.

Best regards,