Hi,
You will not be able to use FooterHtmlFormat to do this because you can't navigate from footer to the main contents. The easiest way for you to do this is to convert the main contents first, then convert the "navigator" over the original result. The "navigator" HTML will be something like this:
Code: HTML/ASPX
<!--for the first page-->
<div style="page-break-after:always;">
<a name="top_1"></a>
<div style="height:800px"></div>
<a href="#top_1">go to top</a>
</div>
<!--for the second page-->
<div style="page-break-after:always;">
<a name="top_2"></a>
<div style="height:800px"></div>
<a href="#top_2">go to top</a>
</div>
......and so on......
Your actual code will be something like this:
Code: C#
//Create a new PdfDocument object
PdfDocument doc = new PdfDocument();
//Convert the main content
HtmlToPdf.ConvertHtml(main_content_html, doc);
//Generate your navigator HTML based on how many pages your main contents has
string navigatorHtml = GenerateNavigatorHtml(doc.Pages.Count);
//Output the navigator HTML into the same PdfDocument
HtmlToPdf.ConvertHtml(navigatorHtml, doc);
You may need to set HtmlToPdf.Options.OutputArea before you convert your navigatorHtml so that the HTML will fit into header/footer area. You will also need to adjust the div's height (in the above sample 800px is used). The purpose of that DIV is to push the second link down.
Hope this helps. Please feel free to let us know if you still have any question.
Thanks!