Hi,
I’m using Aspose.PDF for C# and facing an issue where pdfDocument.Pages.Count does not return the correct number of pages in a PDF document. However, PdfFileInfo.NumberOfPages works as expected.
When I try to access pages beyond the count returned by pdfDocument.Pages.Count, I get an “Invalid index” error. Could you please help resolve this discrepancy?
Thank you,