Hi Team,
When I try to convert a word file to PDF using aspose dll then it changes the formatting and the Pagination number. I am getting below issue:
Issue 1:
In Word file the Pagination is Page 1 of 19 but in PDF it shows Page 4 of 19, similarly the last page shows Page 23 of 19
Issue 2:
in Page 4, some of the content has moved to the Previous Page and shifted in Table Of Content Page, Please see the attached screenshot.
I am using below C# code for converting doc to PDF with Version Aspose.Words 19.10:
public bool ConvertToPdf(string filePath, DocumentType fileType, string pdfOutputFilePath)
{
new Document(filePath).Save(pdfOutputFilePath);
return true;
}
Please see the attached zip file which has doc file, pdf and screenshots.
Please let me know how can I resolve above issues.IssueOnWordToPDF.zip (746.0 KB)
Thanks,
KK