PageReport - Get PDF Page Count

Posted by: drees on 27 May 2025, 2:51 pm EST

  • Posted 27 May 2025, 2:51 pm EST

    Using ActiveReports v19, how would I get the page count while rendering a PDF (using the PdfRenderingExtension) from a PageReport?

  • Posted 6 June 2025, 12:39 am EST

    Hi Drees,

    Unfortunately, PageReports does not provide an explicit way to get the total page count.

    However, as a workaround you can try using external PDF libraries, then export your report to a temporary PDF and use the external PDF library to get the total page length, after this you can delete the temporary PDF if your use case is to use the total page count while rendering a PDF.

    Apologies for the inconvenience.

    Regards,

    Anand

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels