I generate PDF invoices using Reporting from Infragistics. After the report has been generated, I need to know how many total pages the resulting PDF is. I need this in my code to write to SQL table for a Fax Cover sheet that tells the recipient how many pages their invoice is etc. How can i accomplish this?
Hello Travis,
When the report has finished loading, there is an event on the XamReportViewer that is fired called ProcessingCompleted. One of the event arguments for this event is the total number of pages in the report. You can store this value to use later after you export the report to PDF.
I export the report, not process, since I don't actually load it.