Table of content add link

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v10)  /  Re: Table of content add link

DynamicPDF CoreSuite for .NET (v10) Forum

 Nov 19 2019 2:29 PM
i want add the links to Table of Contents page after all the other pages of the PDF are already created.

How to  go back to table of content? how to go back to that page and find x and y coordinate?
 Nov 20 2019 12:32 PM
Posted by a ceTe Software moderator

Hello,

You can add links to the PDF using the Link page element and setting an XYDestination as its Action. Please refer to the documentation on  Link page element here.

Also please note that you can access the pages in the Document by index using the Pages property. Once you access the page, you can add a Link page element by specifying a position. Before adding a Link, you will need to know the page index to access the page and X, Y positions to place the link.

Thanks,
ceTe Software Support Team

 Nov 21 2019 12:32 AM
is it possible to get x and y coordinates of specific element like find label or text in already created page?
i want to create complete dynamic table of content so i want to find by text or label and get coordinate and add link element in that coordinate
 Nov 21 2019 9:11 AM
Posted by a ceTe Software moderator
Hello,

DynamicPDF Generator for .NET does not support retrieving the X and Y position of existing page elements in a PDF that has been saved or output. Also it is not possible to find the X and Y coordinate of text. You will need to have the coordinates beforehand to add a Link to a page.

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 12:23 AM.