Rank: Newbie Groups: Member
Joined: 2/22/2013 Posts: 2
|
Hi,
I am using HtmlToPdf.ConvertUrl() to convert an html page into a pdf file. The pdf file will have many pages. And the customer asked for a feature to display page number in the footer areas. I managed to display the page number in the footer panel like this:"Page X" By setting the FooterHtmlFormat = "<div style='text-align:center'>Page {page_number} of </div>"; But what the customer want is something like this: "Page X of Y". So my question is: Is it possible to display the total page count before rendering the html. If so, how can I do that?
Thanks, Louis
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
|
Rank: Newbie Groups: Member
Joined: 2/22/2013 Posts: 2
|
Thanks a lot!
Cheers, Louis
|