Free Support Forum -

Saving to PDF using Aspose.Words

Hi guys,

We have documents which are generated in both PDF and Word based on the user's preferences.

Previously we were generating documents in Aspose.Words object model, saving it to Word format, then relaoding it and saving it to PDF. That was working fine, but had performance implications.

Now we've changed to code to save the Aspose.Words object model directly to PDF, We still have PDF documents generated, but it appears that some of the changes we've made to it prior to saving is not reflected in the pdf.

Both word and PDF documents are generated using the exact same code, from the exact same data, the only difference is one of them saves to word format and the other to PDF.

Does Aspose.Words support directly saving an Aspose.Words.Document object to PDF ? If yes what do you think could have gone wrong ?



Hi Bram

Thanks for your request.

Yes, Aspose.Words fully supports directly rendering to PDF. Could you please share what changes are missing in the rendered output but which appear in the document output? Also could you please attach your template here for testing.