Hello I wonder if there is any way to get the total number of pages in the report without displaying it. The idea is to know the amount of pages before the printing process. Is there any way to do this?
The report must be generated in order to determine how many pages are present. One option is to create a generic TppDevice, connect its publisher to the report's and call Report.PrintToDevices.
You could then keep track of the number of pages received by implementing and event that fires for each page. (Report.StartPage, Device.OnPageReceive, etc.)
Comments
The report must be generated in order to determine how many pages are
present. One option is to create a generic TppDevice, connect its
publisher to the report's and call Report.PrintToDevices.
You could then keep track of the number of pages received by
implementing and event that fires for each page. (Report.StartPage,
Device.OnPageReceive, etc.)
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com