Welcome Guest Search | Active Topics | Sign In | Register

Determining what page an HtmlElement resides on Options
epalan
Posted: Monday, January 12, 2015 11:51:38 PM
Rank: Newbie
Groups: Member

Joined: 1/12/2015
Posts: 1
Hi,

I'm producing a PDF using the ConvertHtml method, and the PDF is multiple pages.

My hope is to have a Table of Contents page as the first page of the PDF, containing topics with page numbers next to them.

The HTML would look like this:
<table id='topic-1'>.. *a few pages worth of rows* ..</table>
<table id='topic-2'>...</table>

The Table of Contents page would look like this:
Topic 1 --- Page 1
Topic 2 --- Page 4

What is the best way to go about this?

-Thanks
eo_support
Posted: Tuesday, January 13, 2015 10:28:16 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

Please see this thread for steps to implement this:

http://www.essentialobjects.com/forum/postst6879_Content-Table-with-Page-Number.aspx

Step 2 in the above topic explained how to determine page number for a specific HtmlElement.

Please feel free to let us know if you still have any questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.