Word page numbering doesn't update correctly when converting to PDF

Hi,

We have some issues with the file conversion(testanonym.docx). On the newest version Aspose.Word 19.2 the header of the document that contains page numbering is wrong(19.2.pdf), but using Aspose.Word version 18.1 it is converted correctly(18.1.pdf).

The sample of the code we use:

var license = new Aspose.Words.License();
license.SetLicense("Aspose.Total.lic");

var inputDocument = new Aspose.Words.Document(inputFilePath);
var pdfSaveOptions = new Aspose.Words.Saving.PdfSaveOptions();
inputDocument.Save(outputFilePath, pdfSaveOptions);

Could you check our problem, please?

files.zip (420.4 KB)

@uaprogrammer

Thanks for your inquiry. The output PDF (19.2.pdf) shared by you is generated by Aspose.Words for .NET 18.6.

We have tested the scenario using the latest version of Aspose.Words for .NET 19.2 and have not found the page number issue in output PDF. Please check the attached output PDF. 19.2.pdf (193.1 KB)