Return number of rendered pages to caller application
Posted: Wed Jan 28, 2026 4:27 pm
Hello
We need to retrieve the number of rendered pages of a report.
Our web application (asp.net) uses a C# DLL to call the report engine, render the report and get a PDF, the DLL can connect to the database and write if needed.
The main problem is to get the right timing, also this could work only if we are printing the report as PDF and not if viewing on preview and print it from there.
Are there some other ways to do this?
Thanks in advance
We need to retrieve the number of rendered pages of a report.
Our web application (asp.net) uses a C# DLL to call the report engine, render the report and get a PDF, the DLL can connect to the database and write if needed.
The main problem is to get the right timing, also this could work only if we are printing the report as PDF and not if viewing on preview and print it from there.
Are there some other ways to do this?
Thanks in advance