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
Return number of rendered pages to caller application
Return number of rendered pages to caller application
Soft System srl
-
Lech Kulikowski
- Posts: 7693
- Joined: Tue Mar 20, 2018 5:34 am
Re: Return number of rendered pages to caller application
Hello,
After the report rendering, you can check the report.RenderedPages.Count;
Thank you.
After the report rendering, you can check the report.RenderedPages.Count;
Thank you.
Re: Return number of rendered pages to caller application
Thank you, worked like a charm
Soft System srl
-
Lech Kulikowski
- Posts: 7693
- Joined: Tue Mar 20, 2018 5:34 am
Re: Return number of rendered pages to caller application
Hello,
You are welcome.
You are welcome.