I'm using the following wrapper WkHtmlToXSharp to convert HTML reports into PDF. I would like to also record the page count after the conversion is complete.
Is there a way to extract the page count from the binary PDF in memory? Or do I need to use secondary PDF libraries such as iTextSharp to extract the page count from the PDF?
Using the Javascript in the page footer/header is not acceptable solution as this can be a data heavy 60-80 pages report.
Thanks, Rafi