This is a migrated thread and some comments may be shown as answers.

Total Page Count of a Telerik.Reporting.Report or generated pdf

1 Answer 221 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gabriel
Top achievements
Rank 1
Gabriel asked on 02 Dec 2013, 09:59 PM
Hello,
I'm trying to get a handle at runtime to the total page count of a generated report but am unable to find a property containing this data. Being able to get it from a saved PDF file would also work for me.  Any tips help would be appreciated.
Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Nasko
Telerik team
answered on 05 Dec 2013, 04:45 PM
Hello Gabriel,

You can export the report programmatically to PDF and then get the generated PDF file's page count. In order to determine the PDF page count you can use one of the approaches described here.

Regards,
Nasko
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Tags
General Discussions
Asked by
Gabriel
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or