We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Some Word to PDF conversions significantly larger in 14.5 vs 9.7 release

We are upgrading from 9.7 release of Aspose to 14.5 release.

During our regression testing we have found some conversions from word to PDF are producing significantly larger PDF files.

This is particularly noticeable with documents containing many tables.

The attached word document produces a 488 K PDF in 9.7 but produces a 4.2M PDF in 14.5

Is there anything we can do to get this back down to close to 488K?

With the upgrade we are now saving with ExportDocumentStructure, could this account for the increase in size?

Aspose.Words.Saving.PdfSaveOptions options = new Aspose.Words.Saving.PdfSaveOptions();

options.ExportDocumentStructure = true;

doc.Save(pdfFilename, options);

Hi Dave,


Thanks for your inquiry. The problem occurs because you’re specifying “PdfSaveOptions.ExportDocumentStructure” option. Also, please note that exporting the document structure significantly increases the memory consumption, especially for the large documents. Aspose.Words produces just 417 KB PDF when you save without this option. If we can help you with anything else, please feel free to ask.

Best regards,