When I load the attached docx file with the code below it return page count = 2 but when the same document is view from print preview via MS Word, it shows page count = 1.
What I need to do in order to get the same page count when loading the file with Aspose.
Document wdoc = new Document(input);
Aspose.Words.Saving.ImageSaveOptions dOptions = new Aspose.Words.Saving.ImageSaveOptions(Aspose.Words.SaveFormat.Tiff);
dOptions.ImageColorMode = ImageColorMode.BlackAndWhite;
dOptions.Resolution = 200;
dOptions.UseAntiAliasing = false;
dOptions.UseHighQualityRendering = false;
int pc = wdoc.PageCount;
pc value returned 2
Aspose.Words.dll v 220.127.116.11