Convert Aspose document to PDF

I have generated word file from attached (code.txt) file. I have render document object into word file look fine but when i am trying to render the in pdf (attached sample file) not look fine and not displaying data properly.


Please revert ASAP.

Hi Vikas,

Thanks for your inquiry. In your case, I suggest you please call Document.UpdateTableLayout method before saving the PDF document. This method updates widths of cells and tables in the document according to their preferred widths and content. You do not need to call this method if the tables appear correct in the output document.

Unfortunately, I am unable to execute your code at my end. If you still face problem, please create a standalone/runnable simple application (for example a Console Application Project) that demonstrates the code you used to generate your output document.