We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Hyperlinks to Pages in the Same PDF Document

Hi,

Your documentation shows how to add a hyperlink to a page in the same PDF using the ID of the Paragraph. What I was wondering is, are there other things you can link the ID to, and what those might be?

Thanks,

brian

Hi Brian,


Thanks for contacting support.

You can also add hyperlink based on page number. Please follow the instructions specified over Create Local Link in Existing PDF File (Facades)

Thanks for the reply. I’m doing that in another part of the PDF that I’m generating. Let me describe what I’m doing.

I am creating a PDF using PDF.Generator. The PDF has a table in it of any size, based on the data that gets passed to it. One column in the table can contain hyperlinks to other documents that I’m converting to PDF and adding to the end of the current PDF using PDF.Document. However, since I don’t know how big this table is going to be, or how big any of the other documents added to the end will be, I can’t really link to a certain page number. Also, how would I be able to define the rectangle around the specific cell in the table where the hyperlink should be?

I think I am having troubles because I’m using PDF.Generator at first, then I am using PDF.Document and PDF.InteractiveFeatures to add the documents to the end, and Generator and Document are full compatible, so I can’t hyperlink to a paragraph that is a Document type paragraph.

Thanks

Hi there,


Sorry for the delayed response. Can you please share your sample code snippet and source document here? So we look into it and provide you more information accordingly.

Sorry for the inconvenience faced.

Best Regards,