Hi
We are using Aspose. Word 10.5.0.0. DLL to generating the pdf file of input word document.
In our application, there is requirement in which we have to upload a word document, which is combination of multiple images and tables. This word document has be converting in the PDF file with the same data and formatting.
Therefore, for this purpose we are using ASPOSE. Word dll.But using aspose.word we are facing the formatting problem in output PDf file. In our output pdf file, the table layout or table width is not same as input word document or in the other word table is not generation properly.
Please find the attached input word file and output pdf document for your reference and the below code which we used for the conversion.
string outputFile = string.Empty;
string outputFileName = string.Empty;
outputFileName = @"InputWord.docx";
Aspose.Words.Document pdffile = new Aspose.Words.Document(outputFileName);
outputFile = documentName + ".pdf";
outputFileName = Server.MapPath(System.IO.Path.Combine("OutPutPDF.pdf", outputFile));
pdffile.Save(outputFileName, SaveFormat.Pdf);
Please let me know what the problem and how we can fix it.
Please let us know if any solution or workaround is possible to fix this table layout in output PDF file.
Thanks
Samanvay