Pdf Page Count Issue

Hi From Past 1 week i am working on Aspose Pdf, i find one issue from the Pages.Count. I have added some repeating content which will create 200 rows so it has taken 5 pages to adjust the data the pages count before save was 1 and after save was 5. Hence the page number management is my intent, so how i can resolve or achieve that, give suggestions.

@GaneshGowru

Thanks for contacting support.

You may please call Document.ProcessParagraphs() method, before saving the PDF document physically. This way you will be able to retrieve actual page count before document is saved. In case of any further assistance, please feel free to contact us.