Cannot create on a Link to go to a new pdf document

Hello,

I'm trying to create a PDF using  PdfDocument document = new();

then I'm adding the link into the PDf like this:

//Create a link for image file 

PdfFileLinkAnnotation fileLinkAnnotation = new PdfFileLinkAnnotation(bounds, @"..\..\Data\logo.png");

//Add this annotation to a page.

page.Annotations.Add(fileLinkAnnotation);

as it shows in this link: https://help.syncfusion.com/file-formats/pdf/working-with-hyperlinks#working-with-external-document-navigation

no luck seeing (viewing) the link on the PDfViewer.

What I'm doing wrong?

Also I Try to create a Weblink like this link: https://blazor.syncfusion.com/demos/pdf/interactive-features?theme=fluent on the InteractiveFeaturesService.cs class, but I can't click it on the PdfViewer, howerver I can when downloading it.


Can you help me out on how to create a Link on the PDF to open a new PDF already created as a new window or something similar?

I really appreciate it.

Thanks for you help,

Luis Campuzano



1 Reply

SK Sinthiya Kalimuthu Syncfusion Team September 12, 2022 08:25 AM UTC

Hi Luis,


Currently, we don’t have support to render the PdfFileLinkannotation in our PDF Viewer control. So, we will consider this as a feature, and we do not have any immediate plans to implement this feature. We will let you know once this is implemented. 


Now you can track the status using the below feedback link,


https://www.syncfusion.com/feedback/24875/add-pdffilelinkannotation-in-the-pdf-viewer-control


Regards,

Sinthiya K


Loader.
Up arrow icon