Page 1 of 1
Number of PAGES before the actual printing???
Posted: Sun Feb 17, 2008 4:08 am
by toyet
When using the TReport class, how do we know the total number of pages in a report before the actual printing? ::nPage is the current page printed, is there a ::nTotalPagesCount?
Re: Number of PAGES before the actual printing???
Posted: Sun Feb 17, 2008 9:41 am
by Enrico Maria Giordano
You can't. What you can do is to reload the EMFs and add the total number of pages to them. Too much work for me.
EMG
Posted: Sun Feb 17, 2008 12:08 pm
by toyet
Ok, Thanks Enrico.
Guess we have to use TDosPrn when we need the Total Number of pages.
Toyet