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

Free Support Forum - aspose.com

PDF table formatting issue

I am attempting to save an aspose.Document as both a PDF and as a DocX and there seems to be a formatting issue causing the two document types to save/display differently.

Both files are being generated from the same aspose.Document using the following lines:

var doc = GetLetter(letter); //populates a Word Template and returns an aspose.Document

doc.Save(finalDocXPath, aspose.SaveFormat.DocX);

doc.Save(finalPDFPath, aspose.SaveFormat.Pdf);

The resulting docx file is formatted as expected yet the PDF file seems to be missing information and have incorrect formatting.

Attached is an example output of both formats for comparison.

Thanks,

Jordan K.

Hi Jordan,

Thanks for your inquiry. You are using Aspose.Words without license. Please note that in evaluation mode there are some limitations applied. E.g. Aspose.Words injects an evaluation watermark at the top of the document. The document’s content are truncated after a certain number of paragraphs during import or export.

Please request for temporary license from here:
Get temporary license

Please read about applying license from here:
Applying a License

If you still face problem, please share following detail for investigation purposes.

  • Please share code of GetLetter(letter) method (source code without compilation errors) that helps us to reproduce your problem on our end
  • Please share screenshots of formatting issues in output document

As soon as you get these pieces of information ready, we’ll start investigation into your issue and provide you more information. Thanks for your cooperation.